Re: Table export fails with NPE

2016-09-17 Thread Krishna
I'm using HBase 1.1 and didn't encounter issue accessing this table in other scenarios. Data is written to this table as HBase KeyValue objects using MapReduce jobs. ctx.write(rowkey, new KeyValue(rowkey.get(), "cf".getBytes(), "cq".getBytes(), timestamp, field.getBytes())); On Sat, Sep 17, 2016

Re: Table export fails with NPE

2016-09-17 Thread Ted Yu
Here is related code from CellProtos.java : public Builder setCellType(org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType value) { if (value == null) { throw new NullPointerException(); This means CellType.valueOf() returned null for the Cell. Which release of

Table export fails with NPE

2016-09-17 Thread Krishna
I'm getting NPE when attempting to export HBase table: hbase org.apache.hadoop.hbase.mapreduce.Export Does anyone know what could be causing the exception? Here is the error stack. Error: java.lang.NullPointerException at org.apache.hadoop.hbase.protobuf.generated.CellProtos$Cell$Builde