Hello Team,

Kindly help with the below issue as we are not able to write data from
phoenix table to hdfs using Map Reduce.

We are getting below error as the connection lost intermittently for map
reduce job.
Before launching mapper connection is established successfully.

map 0% and reduce 0%
Error: java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.hadoop.mapred.MapTask.NewTrackingRecordReader.<init>MapTask.java
org.apache.hadoop.mapred.MapTask.run
at org.apache.hadoop.mapred.YarnChild.run(YarnChild.java:117)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.auth.Subject.doAs(Subject.java)
at org.apache.hadoop.security.UserGroupInformation.doAs(User group
information.java:1875)
Caused by : java.lang.NullPointerException

Above error coming while running mapper phase in an interval and failed at
reducer phase.

We have upgraded our phoenix and Hadoop version.

Phoenix Version from 4.14-hbase-1.2 to 5.0.0-Hbase-2.0
Hadoop version from 2.0 to 3.0.0

Note - Similar code works fine with the previous versions.

Please suggest.

Thanks and Regards,
Ankit Joshi

Reply via email to