Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
1.my cluster environment is phoenix-2.2.0-SNAPSHOT and Hbase0.96.1.1.
phoenix-2.2.0-SNAPSHOT.jar is build form https://github.com/forcedotcom/phoenix/tree/port-0.96
2.when i create a primary table and a index table, first time i can upsert data to primary table success, the index table was be created automatically.but when i upsert data to primary table again,The following error was encountered.
on 202slave,60020,1403659135048, tracking started Wed Jun 25 09:24:59 CST 2014, retrying after 20108 ms, replay 1 ops.
2014-06-25 09:27:50,245 INFO org.apache.hadoop.hbase.client.AsyncProcess - #8, waiting for some tasks to finish. Expected max=0, tasksSent=18, tasksDone=17, currentTasksDone=17, retries=17 hasError=false, tableName=USER2
2014-06-25 09:27:50,289 INFO org.apache.hadoop.hbase.client.AsyncProcess - #8, table=USER2, attempt=18/35 failed 1 ops, last exception: java.io.IOException: java.io.IOException
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2213)
at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1879)
Caused by: java.lang.NullPointerException
at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:825)
at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:812)
at org.apache.hadoop.hbase.KeyValue.getRowLength(KeyValue.java:1040)
at org.apache.hadoop.hbase.KeyValue.getFamilyOffset(KeyValue.java:1056)
at org.apache.hadoop.hbase.KeyValue.getFamilyLength(KeyValue.java:1072)
at org.apache.hadoop.hbase.CellUtil.cloneFamily(CellUtil.java:66)
at org.apache.hadoop.hbase.KeyValue.getFamily(KeyValue.java:1300)
at org.apache.hadoop.hbase.replication.regionserver.Replication.scopeWALEdits(Replication.java:247)
at org.apache.hadoop.hbase.replication.regionserver.Replication.visitLogEntryBeforeWrite(Replication.java:231)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.doWrite(FSHLog.java:1252)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.append(FSHLog.java:920)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.appendNoSync(FSHLog.java:945)
at org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:2230)
at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:1965)
at org.apache.hadoop.hbase.regionserver.HRegionServer.doBatchOp(HRegionServer.java:4043)
at org.apache.hadoop.hbase.regionserver.HRegionServer.doNonAtomicRegionMutation(HRegionServer.java:3354)
at org.apache.hadoop.hbase.regionserver.HRegionServer.multi(HRegionServer.java:3258)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26935)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175)
... 1 more