hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudarshan Kadambi (BLOOMBERG/ 731 LEXIN)" <skada...@bloomberg.net>
Subject Corrupt HBase table
Date Tue, 18 Mar 2014 14:14:09 GMT
Hi Folks:

We've a table that we're unable to make online. A scan on this table yields the following
stack trace. hbck doesn't report any inconsistencies. I went ahead and did a repair, which
didn't make a difference. Any tips?

ERROR: java.io.IOException: Invalid currKeyLen 16777280 or currValueLen 64. Block offset:
274609471488, block length: 16415, position: 0 (without header).
        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.IllegalStateException: Invalid currKeyLen 16777280 or currValueLen 64.
Block offset: 274609471488, block length: 16415, position: 0 (without header).
        at org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.readKeyValueLen(HFileReaderV2.java:820)
        at org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.updateCurrBlock(HFileReaderV2.java:787)
        at org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.seekTo(HFileReaderV2.java:749)
        at org.apache.hadoop.hbase.regionserver.StoreFileScanner.seekAtOrAfter(StoreFileScanner.java:232)
        at org.apache.hadoop.hbase.regionserver.StoreFileScanner.seek(StoreFileScanner.java:145)
        at org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:168)
        at org.apache.hadoop.hbase.regionserver.HStore.getScanner(HStore.java:1642)
        at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.<init>(HRegion.java:3460)
        at org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:1768)
        at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1760)
        at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1737)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:2996)
        at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26929)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175)
        ... 1 more

Mime
View raw message