New to Logstash and Elasticsearch so pardon any silliness on my end with
this configuration issue I'm currently having. I'm receiving the following
error when I try to startup the elasticsearch as suggested via the guide
linked below the following error code:
[root@server01 ~]# service elasticsearch start
Starting elasticsearch: [ OK ]
[root@server01 ~]# Exception in thread "main"
java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:155)
at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)
Caused by: java.lang.UnsupportedOperationException: gnu::java::lang::
management::VMMemoryMXBeanImpl::getNonHeapMemoryUsage () not implemented
at gnu.java.lang.management.VMMemoryMXBeanImpl.getNonHeapMemoryUsage(
libgcj.so.10)
at gnu.java.lang.management.MemoryMXBeanImpl.getNonHeapMemoryUsage(libgcj
.so.10)
at org.elasticsearch.monitor.jvm.JvmInfo.(JvmInfo.java:69)
at java.lang.Class.initializeClass(libgcj.so.10)
...2 more
I stepped through the instructions exactly and installed ElasticSearch via
the sites RPM on CentOS 6.0
I have added the following to: /usr/lib/sysctl.d/elasticsearch.conf
ES_MIN_MEM=512m
ES_MAX_MEM=1024m
As well modified the elasticsearch.in.sh file which got it a bit further in
the startup though I'm not certain it's actually made a true difference as
I'm still receiving the above error:
source /usr/lib/sysctl.d/elasticsearch.conf
if [ "x$ES_MIN_MEM" = "x" ]; then
ES_MIN_MEM=512m
fi
if [ "x$ES_MAX_MEM" = "x" ]; then
ES_MAX_MEM=1024m
fi
I'd be happy to provide any additional information if anyone has a thought
as to where I might have gone wrong.
Currently installed is Nginx, Logstash, and ElasticSearch. Per the guide
once complete it should be a working instance....
Very much appreciate any help I can get and for you all taking any time
what-so-ever to help me in getting this online. If I do end up identifying
my problem which I have thus far looked over, I will be sure to update this
post as well.
New to Logstash and Elasticsearch so pardon any silliness on my end with
this configuration issue I'm currently having. I'm receiving the following
error when I try to startup the elasticsearch as suggested via the guide
linked below the following error code:
[root@server01 ~]# service elasticsearch start
Starting elasticsearch: [ OK ]
[root@server01 ~]# Exception in thread "main"
java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:155)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32
)
Caused by: java.lang.UnsupportedOperationException: gnu::java::lang::
management::VMMemoryMXBeanImpl::getNonHeapMemoryUsage () not implemented
at gnu.java.lang.management.VMMemoryMXBeanImpl.getNonHeapMemoryUsage(
libgcj.so.10)
at gnu.java.lang.management.MemoryMXBeanImpl.getNonHeapMemoryUsage(
libgcj.so.10)
at org.elasticsearch.monitor.jvm.JvmInfo.(JvmInfo.java:69)
at java.lang.Class.initializeClass(libgcj.so.10)
...2 more
I stepped through the instructions exactly and installed Elasticsearch via
the sites RPM on CentOS 6.0
I have added the following to: /usr/lib/sysctl.d/elasticsearch.conf
ES_MIN_MEM=512m
ES_MAX_MEM=1024m
As well modified the elasticsearch.in.sh file which got it a bit further
in the startup though I'm not certain it's actually made a true difference
as I'm still receiving the above error:
source /usr/lib/sysctl.d/elasticsearch.conf
if [ "x$ES_MIN_MEM" = "x" ]; then
ES_MIN_MEM=512m
fi
if [ "x$ES_MAX_MEM" = "x" ]; then
ES_MAX_MEM=1024m
fi
I'd be happy to provide any additional information if anyone has a thought
as to where I might have gone wrong.
Currently installed is Nginx, Logstash, and Elasticsearch. Per the guide
once complete it should be a working instance....
Very much appreciate any help I can get and for you all taking any time
what-so-ever to help me in getting this online. If I do end up identifying
my problem which I have thus far looked over, I will be sure to update this
post as well.
On Sat, Jan 25, 2014 at 7:58 AM, Gabriel Blankenship duplex@mypcpros.net wrote:
at java.lang.Class.initializeClass(libgcj.so.10)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:155)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.UnsupportedOperationException:
gnu::java::lang::management::VMMemoryMXBeanImpl::getNonHeapMemoryUsage ()
not implemented
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.