NPE in TableInputFormatBase$TableRecordReader.restart if zoo.cfg is wrong on
tasktrackers
-----------------------------------------------------------------------------------------
Key: HBASE-1391
URL: https://issues.apache.org/jira/browse/HBASE-1391
Project: Hadoop HBase
Issue Type: Bug
Components: mapred
Reporter: Andrew Purtell
Priority: Minor
Fix For: 0.20.0
Minor nit. If zoo.cfg is missing or incorrect on the task trackers, you'll get
this NPE when the child task starts:
09/05/08 02:46:15 INFO mapred.JobClient: Task Id :
attempt_200905080240_0002_m_000000_2, Status : FAILED
java.lang.NullPointerException
at
org.apache.hadoop.hbase.mapred.TableInputFormatBase$TableRecordReader.restart(TableInputFormatBase.java:117)
at
org.apache.hadoop.hbase.mapred.TableInputFormatBase$TableRecordReader.init(TableInputFormatBase.java:128)
at
org.apache.hadoop.hbase.mapred.TableInputFormatBase.getRecordReader(TableInputFormatBase.java:249)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:336)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
at org.apache.hadoop.mapred.Child.main(Child.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.