Dear all,
I need your help. Here's an high level description of what I'm trying to
do, followed by some dives into details.
I'm running an Hadoop Job with basically indexes bulks of documents to an
ElasticSearch two nodes cluster.
Some details on the configuration follows:
- hadoop version, running on Java(TM) SE Runtime Environment (build
1.7.0_25-b15) - elasticsearch version 0.90.3 running on Java(TM) SE Runtime Environment
(build 1.6.0_45-b06)
Using, a TransportClient, each Reducer task tries to connect to the cluster
as shown here[https://gist.github.com/dpalmisano/6251563], line 120.
Unfortunately, when the reducer tasks try to connect it permanently fails
due this exception:
2013/08/16 16:48:52,604 [main] FATAL org.apache.hadoop.mapred.Child - Error running child : java.lang.NoSuchFieldError: LUCENE_36
at org.elasticsearch.Version.(Version.java:42)
at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:165)
at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:121)
at com.dpalmisano.mapred.es.ElasticSearchBulkOutputFormat$ElasticSearchBulkRecordWriter.start_embedded_client(ElasticSearchBulkOutputFormat.java:151)
at com.dpalmisano.mapred.es.ElasticSearchBulkOutputFormat$ElasticSearchBulkRecordWriter.(ElasticSearchBulkOutputFormat.java:67)
at com.dpalmisano.mapred.es.ElasticSearchBulkOutputFormat.getRecordWriter(ElasticSearchBulkOutputFormat.java:160)
at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.(ReduceTask.java:583)
at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:652)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:426)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1132)
at org.apache.hadoop.mapred.Child.main(Child.java:249)
Digging it around, it seems it's mainly related to an old version of Lucene
in the classpath. My Hadoop Job dependency tree is totally ok (it uses only
lucene deps coming from elasticsearch 0.90.3), while Hadoop uses and older
version (2.9.4).
Does anybody ever met this problem before? I'll really appreciate any hint
or help from you guys.
thanks in advance
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.