I'm getting NPE when attempting to export HBase table: hbase
org.apache.hadoop.hbase.mapreduce.Export <table_name> <hdfs_dir>
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$Builder.setCellType(CellProtos.java:1050)
        at
org.apache.hadoop.hbase.protobuf.ProtobufUtil.toCell(ProtobufUtil.java:2531)
        at
org.apache.hadoop.hbase.protobuf.ProtobufUtil.toResult(ProtobufUtil.java:1303)
        at
org.apache.hadoop.hbase.mapreduce.ResultSerialization$ResultSerializer.serialize(ResultSerialization.java:155)
        at
org.apache.hadoop.hbase.mapreduce.ResultSerialization$ResultSerializer.serialize(ResultSerialization.java:140)
        at
org.apache.hadoop.io.SequenceFile$BlockCompressWriter.append(SequenceFile.java:1591)
        at
org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat$1.write(SequenceFileOutputFormat.java:83)
        at
org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:658)
        at
org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89)
        at
org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.write(WrappedMapper.java:112)
        at
org.apache.hadoop.hbase.mapreduce.IdentityTableMapper.map(IdentityTableMapper.java:66)
        at
org.apache.hadoop.hbase.mapreduce.IdentityTableMapper.map(IdentityTableMapper.java:33)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693)
        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

Reply via email to