hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18030) Negative tag length for hbase block/hfile
Date Fri, 12 May 2017 05:13:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007643#comment-16007643

ramkrishna.s.vasudevan commented on HBASE-18030:

Checked the code. Nothing obvious in this area. But I suspect some other issues when every
increment has a TTL. But that should not throw a negative tag offset.  
bq.2017-05-11 07:31:00,745 INFO [hdps01.labs.ops.use1a.i.riva.co,16020,1493962926376_ChoreService_2]
regionserver.HRegionServer: hdps01.labs.ops.use1a.i.riva.co,16020,1493962926376-MemstoreFlusherChore
requesting flush for region <tablename>,,1493782145821.db8a11a78836a33cdd045e5c6fcf4b6c.
after a delay of 10433
That is because you still have data in your memstore may be. You can do a manual flush on
the table to see if this goes off. 

> Negative tag length for hbase block/hfile
> -----------------------------------------
>                 Key: HBASE-18030
>                 URL: https://issues.apache.org/jira/browse/HBASE-18030
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase, regionserver
>    Affects Versions: 1.1.2
>            Reporter: Abhishek Kumar
> 2017-04-29 14:24:14,135 ERROR [B.fifo.QRpcServer.handler=49,queue=1,port=16020] ipc.RpcServer:
Unexpected throwable object java.lang.IllegalStateException: Invalid currTagsLen -32712. Block
offset: 3707853, block length: 72841, position: 0 (without header). at org.apache.hadoop.hbase.io.hfile.HFileReaderV3$ScannerV3.checkTagsLen(HFileReaderV3.java:226)
> I am not not using any hbase tags feature.
> The Increment operation from the application side is triggering this error. The same
is happening when scanner is run on this table. It feels that one or more particular HFile
block is corrupt (with negative tagLength).
> hbase(main):007:0> scan 'table-name', {LIMIT=>1,STARTROW=>'ad:event_count:a'}
> Returning the result
> hbase(main):008:0> scan 'table-name', {LIMIT=>1,STARTROW=>'ad:event_count:b'}
> ROW                                                         COLUMN+CELL             
> ERROR: java.io.IOException: java.lang.IllegalStateException: Invalid currTagsLen -32701.
Block offset: 272031, block length: 72441, position: 32487 (without header).
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.handleException(HRegion.java:5607)
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.<init>(HRegion.java:5579)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:2627)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:2613)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:2595)
> 	at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2282)
> 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32295)

This message was sent by Atlassian JIRA

View raw message