Hello,
We are trying to utilize Amazon Elastic Map Reduce to build Solr indexes. We
are using embedded Solr in the Reduce phase to create the actual index.
However we run into a following error and not sure what is causing it. Solr
version is 4.4. The job runs fine locally in Cloudera CDH 4.3 VM

Thanks,
Dmitriy


2013-08-09 14:52:02,602 FATAL org.apache.hadoop.mapred.Child (main): Error
running child : java.lang.VerifyError: (class:
org/apache/lucene/codecs/lucene40/Lucene40FieldInfosRead
er, method: read signature:
(Lorg/apache/lucene/store/Directory;Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/index/FieldInfos;)
Incompatible argument
to function
        at
org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat.<init>(Lucene40FieldInfosFormat.java:99)
        at
org.apache.lucene.codecs.lucene40.Lucene40Codec.<init>(Lucene40Codec.java:49)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:374)
        at
org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:67)
        at
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:47)
        at
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37)
        at org.apache.lucene.codecs.Codec.<clinit>(Codec.java:41)
        at
org.apache.solr.core.SolrResourceLoader.reloadLuceneSPI(SolrResourceLoader.java:185)
        at
org.apache.solr.core.SolrResourceLoader.<init>(SolrResourceLoader.java:121)
        at
org.apache.solr.core.SolrResourceLoader.<init>(SolrResourceLoader.java:235)
        at org.apache.solr.core.CoreContainer.<init>(CoreContainer.java:149)
        at
org.finra.ss.solr.SolrIndexingReducer.getEmbeddedSolrServer(SolrIndexingReducer.java:195)
        at
org.finra.ss.solr.SolrIndexingReducer.reduce(SolrIndexingReducer.java:94)
        at
org.finra.ss.solr.SolrIndexingReducer.reduce(SolrIndexingReducer.java:33)
        at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:528)
        at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:429)
        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)




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-running-Solr-indexing-in-Amazon-EMR-tp4083636.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to