Iam trying to integrate data from Hadoop to Elastic Search and it throws the above given error on the container logs of hadoop. Kindly help
Seeing the entire error message and related log messages would really help here.
java.lang.ArrayIndexOutOfBoundsException: 1
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:45)
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:19)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1886)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:171)
java.lang.ArrayIndexOutOfBoundsException: 1
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:45)
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:19)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1886)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:171)
java.lang.ArrayIndexOutOfBoundsException: 1
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:45)
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:19)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1886)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:171)
java.lang.ArrayIndexOutOfBoundsException: 1
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:45)
at com.flytxt.qreda.tag.insight.util.ESWriter.map(ESWriter.java:19)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
You might have better luck asking this question Flytxt's Qreda support, since the issue seems to be in their code.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.