Error for Elastic search due to Lucene

25 views
Skip to first unread message

Parag Ahivale

unread,
Mar 3, 2017, 4:44:22 AM3/3/17
to Aurelius
Hello, 
I am coming across this following error. Can someone please help me resolve this. I am new to Titan and elastic search, so I have no idea what is going wrong.

13:51:44.550 [Thread-20-loginSuccess] INFO  backtype.storm.daemon.executor - Activating spout loginSuccess:(4)
13:51:44.583 [Thread-10-loginFailed] INFO  backtype.storm.daemon.executor - Opening spout loginFailed:(2)
13:51:44.584 [Thread-10-loginFailed] INFO  backtype.storm.daemon.executor - Opened spout loginFailed:(2)
13:51:44.584 [Thread-10-loginFailed] INFO  backtype.storm.daemon.executor - Activating spout loginFailed:(2)
13:51:44.610 [Thread-12-loginFailedLogParsedTitan] INFO  backtype.storm.daemon.executor - Preparing bolt loginFailedLogParsedTitan:(3)
13:51:44.611 [Thread-12-loginFailedLogParsedTitan] INFO  backtype.storm.daemon.executor - Prepared bolt loginFailedLogParsedTitan:(3)
13:51:44.619 [Thread-14-insertLogToTitanDatabase] INFO  backtype.storm.daemon.executor - Preparing bolt insertLogToTitanDatabase:(1)
13:51:44.624 [Thread-16-__system] INFO  backtype.storm.daemon.executor - Preparing bolt __system:(-1)
13:51:44.635 [Thread-16-__system] INFO  backtype.storm.daemon.executor - Prepared bolt __system:(-1)
13:51:45.366 [Thread-14-insertLogToTitanDatabase] INFO  c.t.t.d.c.t.CassandraThriftStoreManager - Closed Thrift connection pooler.
13:51:45.375 [Thread-14-insertLogToTitanDatabase] INFO  c.t.t.g.c.GraphDatabaseConfiguration - Generated unique-instance-id=0a3123056315-P413211
13:51:45.400 [Thread-14-insertLogToTitanDatabase] INFO  c.t.titan.diskstorage.Backend - Configuring index [search]
13:51:45.430 [Thread-14-insertLogToTitanDatabase] ERROR backtype.storm.util - Async loop died!
java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:473) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.getIndexes(Backend.java:460) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:147) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1805) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:62) ~[titan-core-1.0.0.jar:na]
at com.rakuten.fce.storm.topology.logingraph.graphdb.InsertLogToTitanDatabaseBolt.prepare(InsertLogToTitanDatabaseBolt.java:45) ~[main/:na]
at backtype.storm.topology.BasicBoltExecutor.prepare(BasicBoltExecutor.java:43) ~[storm-core-0.10.0.jar:0.10.0]
at backtype.storm.daemon.executor$fn__5694$fn__5707.invoke(executor.clj:757) ~[storm-core-0.10.0.jar:0.10.0]
at backtype.storm.util$async_loop$fn__545.invoke(util.clj:477) ~[storm-core-0.10.0.jar:0.10.0]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_112]
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_112]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_112]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_112]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_112]
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44) ~[titan-core-1.0.0.jar:na]
... 13 common frames omitted
Caused by: java.lang.NoSuchFieldError: LUCENE_3_6
at org.elasticsearch.Version.<clinit>(Version.java:43) ~[elasticsearch-1.5.1.jar:na]
at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.checkExpectedClientVersion(ElasticSearchIndex.java:1059) ~[titan-es-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:186) ~[titan-es-1.0.0.jar:na]
... 18 common frames omitted
13:51:45.431 [Thread-14-insertLogToTitanDatabase] ERROR backtype.storm.daemon.executor - 
java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:473) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.getIndexes(Backend.java:460) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:147) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1805) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) ~[titan-core-1.0.0.jar:na]
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:62) ~[titan-core-1.0.0.jar:na]
at com.rakuten.fce.storm.topology.logingraph.graphdb.InsertLogToTitanDatabaseBolt.prepare(InsertLogToTitanDatabaseBolt.java:45) ~[main/:na]
at backtype.storm.topology.BasicBoltExecutor.prepare(BasicBoltExecutor.java:43) ~[storm-core-0.10.0.jar:0.10.0]
at backtype.storm.daemon.executor$fn__5694$fn__5707.invoke(executor.clj:757) ~[storm-core-0.10.0.jar:0.10.0]
at backtype.storm.util$async_loop$fn__545.invoke(util.clj:477) ~[storm-core-0.10.0.jar:0.10.0]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_112]
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_112]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_112]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_112]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_112]
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44) ~[titan-core-1.0.0.jar:na]
... 13 common frames omitted
Caused by: java.lang.NoSuchFieldError: LUCENE_3_6
at org.elasticsearch.Version.<clinit>(Version.java:43) ~[elasticsearch-1.5.1.jar:na]
at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.checkExpectedClientVersion(ElasticSearchIndex.java:1059) ~[titan-es-1.0.0.jar:na]
at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:186) ~[titan-es-1.0.0.jar:na]
... 18 common frames omitted
13:51:45.451 [Thread-14-insertLogToTitanDatabase] ERROR backtype.storm.util - Halting process: ("Worker died")
java.lang.RuntimeException: ("Worker died")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:336) [storm-core-0.10.0.jar:0.10.0]
at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.6.0.jar:na]
at backtype.storm.daemon.worker$fn__7184$fn__7185.invoke(worker.clj:532) [storm-core-0.10.0.jar:0.10.0]
at backtype.storm.daemon.executor$mk_executor_data$fn__5523$fn__5524.invoke(executor.clj:261) [storm-core-0.10.0.jar:0.10.0]
at backtype.storm.util$async_loop$fn__545.invoke(util.clj:489) [storm-core-0.10.0.jar:0.10.0]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_112]

Process finished with exit code 1



Jason Plurad

unread,
Mar 3, 2017, 11:19:18 AM3/3/17
to Aurelius
I'd guess that your ES version doesn't match the version that is supported. See the version compatibility matrix:
http://s3.thinkaurelius.com/docs/titan/1.0.0/version-compat.html
Reply all
Reply to author
Forward
0 new messages