Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16609

Fake cells EmptyByteBufferedCell created in read path not implementing SettableSequenceId

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I backport offheap in 2.0 to hbase-1.1.2, and when testing´╝îI encounter a similar problem HBASE-15379 ,Here is the stack trace:

      java.io.IOException: java.lang.UnsupportedOperationException: Cell is not of type org.apache.hadoop.hbase.SettableSequenceId
              at org.apache.hadoop.hbase.CellUtil.setSequenceId(CellUtil.java:915)
              at org.apache.hadoop.hbase.regionserver.StoreFileScanner.setCurrentCell(StoreFileScanner.java:203)
              at org.apache.hadoop.hbase.regionserver.StoreFileScanner.requestSeek(StoreFileScanner.java:338)
              at org.apache.hadoop.hbase.regionserver.KeyValueHeap.generalizedSeek(KeyValueHeap.java:321)
              at org.apache.hadoop.hbase.regionserver.KeyValueHeap.requestSeek(KeyValueHeap.java:279)
              at org.apache.hadoop.hbase.regionserver.StoreScanner.reseek(StoreScanner.java:821)
              at org.apache.hadoop.hbase.regionserver.StoreScanner.seekAsDirection(StoreScanner.java:809)
              at org.apache.hadoop.hbase.regionserver.StoreScanner.next(StoreScanner.java:636)
              at org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:153)
              at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.populateResult(HRegion.java:5611)
              at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.nextInternal(HRegion.java:5750)
              at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.nextRaw(HRegion.java:5551)
              at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.next(HRegion.java:5528)
              at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.next(HRegion.java:5515)
              at org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2125)
              at org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2068)
              at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32201
      )
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:790)
              at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:102)
              at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
      

      this will occur in read path when offheap is used. mostly due to ByteBuffer backed Cells dont implement interface SettableSequenceId.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                haoran Yu Sun
                Reporter:
                haoran Yu Sun
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: