NPE in TableRecordReaderImpl.restart
------------------------------------
Key: HBASE-3386
URL: https://issues.apache.org/jira/browse/HBASE-3386
Project: HBase
Issue Type: Bug
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
Priority: Minor
Fix For: 0.90.0
I was running some testing on a already busy cluster and my clients in the
mappers sometimes aren't able to create an HTable because of
ConnectionLoseException. The code logs that as an error but still continues
with a null HTable then this happens:
{noformat}
java.lang.NullPointerException
at
org.apache.hadoop.hbase.mapreduce.TableRecordReaderImpl.restart(TableRecordReaderImpl.java:58)
at
org.apache.hadoop.hbase.mapreduce.TableRecordReaderImpl.init(TableRecordReaderImpl.java:67)
at
org.apache.hadoop.hbase.mapreduce.TableRecordReader.init(TableRecordReader.java:57)
at
org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.createRecordReader(TableInputFormatBase.java:108)
{noformat}
Needs to be prettier.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.