【异常】java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 1
当通过API操作HBase时,我们可能一不小心就会碰到这样一种情况:
java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 1
at org.apache.hadoop.hbase.util.Bytes.explainWrongLengthOrOffset(Bytes.java:602)
at org.apache.hadoop.hbase.util.Bytes.toLong(Bytes.java:580)
at org.apache.hadoop.hbase.util.Bytes.toLong(Bytes.java:553)
at org.pentaho.hbase.shim.common.CommonHBaseBytesUtil.<