Support Questions
Find answers, ask questions, and share your expertise

Hbase hbck

One of my Hbase tables is in a limbo with a Truncate command fired, not completing and getting hung. On running hbck, I can see the following error:

 

2020-01-09 11:54:55,741 INFO [hbasefsck-pool1-t1] util.HBaseFsck: Region { meta => table_1,,1578390508424.a96068fc6ecaa2c66882df211b274e60., hdfs => hdfs://my-hdfs/apps/hbase/data/data/default/table_1/a96068fc6ecaa2c66882df211b274e60, deployed => , replicaId => 0 } is in META, and in a disabled tabled that is not deployed
2020-01-09 11:54:56,098 DEBUG [main-SendThread(machine1-bd.org.com:2181)] zookeeper.ClientCnxn: Reading reply sessionid:0x26f81dc781e001a, packet:: clientPath:null serverPath:null finished:false header:: 23,8 replyHeader:: 23,146028924982,0 request:: '/hbase/table-lock/table_1,F response:: v{'write-master:160000000000016}
2020-01-09 11:54:56,098 DEBUG [main-SendThread(machine1-bd.org.com:2181)] zookeeper.ClientCnxn: Reading reply sessionid:0x26f81dc781e001a, packet:: clientPath:null serverPath:null finished:false header:: 24,8 replyHeader:: 24,146028924982,0 request:: '/hbase/table-lock/table_1,F response:: v{'write-master:160000000000016}
2020-01-09 11:54:56,099 INFO [main] lock.ZKInterProcessLockBase: Lock is held by: write-master:160000000000016
2020-01-09 11:54:56,099 DEBUG [main-SendThread(machine1-bd.org.com:2181)] zookeeper.ClientCnxn: Reading reply sessionid:0x26f81dc781e001a, packet:: clientPath:null serverPath:null finished:false header:: 25,4 replyHeader:: 25,146028924982,0 request:: '/hbase/table-lock/table_1/write-master:160000000000016,F response:: #ffffffff000146d61737465723a3136303030ffffffb679ffffffd411152b5050425546a14a764656661756c741296275636b6574735f321224a1864656d756331707233322e64652e7072692e6f322e636f6d10ffffff807d18fffffff8ffffffdbffffffb5ffffff8ffffffff82d18ffffff9a12002ae7472756e63617465207461626c6530ffffffb6ffffffbcffffffcfffffff91fffffff82d,s{146028892170,146028892170,1578437434934,1578437434934,0,0,0,103444100363649031,117,0,146028892170}
ERROR: Table lock acquire attempt found:[tableName=default:table_1, lockOwner=mahchine1.org.com,16000,1578432818680, threadId=154, purpose=truncate table, isShared=false, createTime=1578437434934]

 

I'm trying to get the get the command to terminate/stop. Can 'hbase hbck -fix' be used for this scenario? But it does not seem to work. Any help is much appreciated.

2 REPLIES 2

New Contributor

It would be helpful to know software versions. For example, hbck is disabled in HBase 2.0+.

The Hbase version is 1.1.2.2.6.0.3-8

; ;