Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
can you be more verbose, how you are actually starting elasticsearch, which
version you are using, what operating system you are running on, which java
version you are running, what is your default shell? Did you modify
anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
Apart from cluster name and node name I didnt change anything.
Version 1.0.1
Commands I use to start bin/elasticsearch
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
--Alex
On Tue, Mar 11, 2014 at 11:38 PM, P lva <ruv...@gmail.com <javascript:>>wrote:
I get this error at elasticsearch startup
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure out
what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
--Alex
On Tue, Mar 11, 2014 at 11:38 PM, P lva <ruv...@gmail.com <javascript:>>wrote:
I get this error at elasticsearch startup
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure out
what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(
Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(
Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure out
what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(
Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(
Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
I didnt want elasticsearch to be under a user's directory so I have it in
/usr/lib/elasticsearch. All the files are owned by the non root user that
is running the command
bash /usr/lib/elasticsearch/bin/elasticsearch
On Wednesday, March 12, 2014 2:21:41 PM UTC-5, Jörg Prante wrote:
And do you start Elasticsearch by the same user you installed
Elasticsearch under?
On Wed, Mar 12, 2014 at 8:12 PM, P lva <ruv...@gmail.com <javascript:>>wrote:
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure
out what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(
Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(
Elasticsearch.java:32)
The jar containing this class is present in the lib directory and echo
$ES_CLASSPATH shows this jar.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
The script elasticsearch, how you call it with absolute path under system
dir /usr/lib, has problems in traversing the path to find the parent folder
and set the variable ES_HOME.
You should use an init script, like provided by the distributions or the
service wrapper, with preconfigured environment, so ES_HOME and
ES_CLASSPATH (i.e. the $ES_HOME/lib folder) can be used.
I didnt want elasticsearch to be under a user's directory so I have it in
/usr/lib/elasticsearch. All the files are owned by the non root user that
is running the command
bash /usr/lib/elasticsearch/bin/elasticsearch
On Wednesday, March 12, 2014 2:21:41 PM UTC-5, Jörg Prante wrote:
And do you start Elasticsearch by the same user you installed
Elasticsearch under?
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure
out what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Boot
strap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch
.java:32)
The jar containing this class is present in the lib directory and
echo $ES_CLASSPATH shows this jar.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearc...@googlegroups.com.
It worked fine after manually setting all the environment variables.
I would say this though.
Server a : ES out of box works from home dir.
Server b : ES out of box neither works from /usr/lib/ nor does it work from
home dir. Only way is to manually set env parameters.
Both servers are built identically.
On Wednesday, March 12, 2014 2:57:57 PM UTC-5, Jörg Prante wrote:
The script elasticsearch, how you call it with absolute path under system
dir /usr/lib, has problems in traversing the path to find the parent folder
and set the variable ES_HOME.
You should use an init script, like provided by the distributions or the
service wrapper, with preconfigured environment, so ES_HOME and
ES_CLASSPATH (i.e. the $ES_HOME/lib folder) can be used.
Jörg
On Wed, Mar 12, 2014 at 8:44 PM, P lva <ruv...@gmail.com <javascript:>>wrote:
I didnt want elasticsearch to be under a user's directory so I have it in
/usr/lib/elasticsearch. All the files are owned by the non root user that
is running the command
bash /usr/lib/elasticsearch/bin/elasticsearch
On Wednesday, March 12, 2014 2:21:41 PM UTC-5, Jörg Prante wrote:
And do you start Elasticsearch by the same user you installed
Elasticsearch under?
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when
I moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure
out what.
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are using, what operating system you are running on,
which java version you are running, what is your default shell? Did you
modify anything from the standard installation?
Thanks.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Boot
strap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch
.java:32)
The jar containing this class is present in the lib directory and
echo $ES_CLASSPATH shows this jar.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearc...@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.