Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
None
-
None
-
None
Description
Caused by: java.lang.NullPointerException at org.apache.accumulo.core.client.mapred.AbstractInputFormat$AbstractRecordReader.initialize(AbstractInputFormat.java:608) at org.apache.accumulo.core.client.mapred.AccumuloRowInputFormat$1.initialize(AccumuloRowInputFormat.java:60) at org.apache.accumulo.core.client.mapred.AccumuloRowInputFormat.getRecordReader(AccumuloRowInputFormat.java:84)
I still need to dig into this one and try to write a test case for it that doesn't involve Hive (as it may have just been something that I was doing). Best as I can tell..
AbstractInputFormat extracts a default table configuration object from the Job's Configuration class:
InputTableConfig tableConfig = getInputTableConfig(job, baseSplit.getTableName());
Eventually, the same class tries to extract the samplerConfiguration from this tableConfig (after noticing it is not present in the InputSplit) and this throws an NPE. Somehow the tableConfig was null. It very well could be that Hive was to blame, I just wanted to make sure that this was captured before I forgot about it.