That's not enough context for us to diagnose why your job is failing,
but this stack trace exists only in Hadoop code. Given that, I would
have to assume it's a bug in Hadoop 3.0.0.
There are many newer versions of Hadoop and I would suggest you use one
of the latest releases of Hadoop 3, rather than 3.0.0, so that you don't
have to diagnose already-fixed bugs.
On 11/8/21 2:21 AM, Ankit Joshi wrote:
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