Hello All,
I have a very simple pig script.
set default_parallel 8;
REGISTER 'elasticsearch-hadoop-pig-1.3.0.M3.jar';
sets = LOAD 'wasb://yyyyyy@xxxxxxxxxxxxxxxx' USING PigStorage('\t') AS
(itemid:chararray, list:chararray);
a = LIMIT sets 100;
b = foreach a generate itemid;
STORE b INTO 'indexOne/iis' USING
org.elasticsearch.hadoop.pig.EsStorage('es.nodes=ec2-xx-xx-xxx-xxx.eu-west-1.compute.amazonaws.com','es.mapping.names=itemid:@itemid','es.resource=indexOne/iis');
I get below error in my reducer:
java.lang.NullPointerException
at javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:653)
at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:691)
at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:433)
at javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342)
at org.elasticsearch.hadoop.util.IOUtils.deserializeFromBase64(IOUtils.java:56)
at org.elasticsearch.hadoop.pig.EsStorage.prepareToWrite(EsStorage.java:178)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.(PigOutputFormat.java:125)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.getRecordWriter(PigOutputFormat.java:86)
at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.(ReduceTask.java:568)
at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:637)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:418)
at org.apache.hadoop.mapred.Child$4.run(Child.java:266)
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:1233)
at org.apache.hadoop.mapred.Child.main(Child.java:260)
Am i missing something basic here?
Thanks!
Ravi
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e6c6ba6d-012b-49b0-b6a7-785e001d34b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.