Installation problem on fedora 24 - NoClassDefFoundError


(Xe Roy) #1

I am trying to install on fedora 24.
I did dnf install elasticsearch; systemctl start elasticsearch.service and it always fails shortly after starting.
I have tried many different things found on the web to no avail.
As near as I can tell from the logs, this is the reason:

Apr 18 16:23:05 server1 elasticsearch: SEVERE: Exception
Apr 18 16:23:05 server1 elasticsearch: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lcom/carrotsearch/hppc/ByteObjectOpenHashMap;

Any help is appreciated.
Thanks in advance.


(Jörg Prante) #2

You should install Elasticsearch from the Elastic repository. https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html

The Fedora Elasticsearch breaks hppc dependency. See https://bugzilla.redhat.com/show_bug.cgi?id=1351504


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.