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

A bug in the bucket cache, with cache blocks on write enabled

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.94.11, 0.98.6.1
    • 1.0.0, 0.98.10, 1.1.0
    • None
    • None
    • Reviewed

    Description

      In my experiments, I have writers streaming their output to HBase. The reader powers a web page and does this scatter/gather, where it reads 1000 keys written last and passes them the the front end. With this workload, I get the exception below at the region server. Again, I am using HBAse (0.98.6.1). Any help is appreciated.

      2014-10-10 15:06:44,173 ERROR [B.DefaultRpcServer.handler=62,queue=2,port=60020] ipc.RpcServer: Unexpected throwable object
      java.lang.IllegalArgumentException
      at java.nio.Buffer.position(Buffer.java:236)
      at org.apache.hadoop.hbase.util.ByteBufferUtils.skip(ByteBufferUtils.java:434)
      at org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.readKeyValueLen(HFileReaderV2.java:849)
      at org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.next(HFileReaderV2.java:760)
      at org.apache.hadoop.hbase.regionserver.StoreFileScanner.seekAtOrAfter(StoreFileScanner.java:248)
      at org.apache.hadoop.hbase.regionserver.StoreFileScanner.seek(StoreFileScanner.java:152)
      at org.apache.hadoop.hbase.regionserver.StoreScanner.seekScanners(StoreScanner.java:317)
      at org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:176)
      at org.apache.hadoop.hbase.regionserver.HStore.getScanner(HStore.java:1780)
      at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.<init>(HRegion.java:3758)
      at org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:1950)
      at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1936)
      at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1913)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3157)
      at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29587)
      at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2027)
      at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
      at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)
      at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)
      at java.lang.Thread.run(Thread.java:744)

      Attachments

        1. TestKey.java
          0.2 kB
          Khaled Elmeleegy
        2. TestHBase.java
          10 kB
          Khaled Elmeleegy
        3. HBASE-12270-v2.patch
          7 kB
          Michael Stack
        4. HBASE-12270-v2.diff
          7 kB
          Shaohui Liu
        5. HBASE-12270-v1.diff
          2 kB
          Shaohui Liu
        6. HBASE-12270-0.98-v2.diff
          7 kB
          Shaohui Liu
        7. HBASE-12270-0.98-v1.diff
          7 kB
          Shaohui Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liushaohui Shaohui Liu
            kdiaa Khaled Elmeleegy
            Votes:
            0 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment