As I can see here, HBase maintains a state for each region and persists the state in hbase:meta
.
I am not able to get what is the command to get state of a region of a table.
By running following:
scan 'hbase:meta',{FILTER=>"PrefixFilter('tableName')"}
I get following:
ROW COLUMN+CELL
table-name,,1505804790891.ce656052407eb6 column=info:regioninfo, timestamp=1505804792579, value={ENCODED => ce656052407eb640b337d29d20e04e4c, NAME => 'table-name,,1505804790891.ce656
40b337d29d20e04e4c. 052407eb640b337d29d20e04e4c.', STARTKEY => '', ENDKEY => '03fffec'}
table-name,,1505804790891.ce656052407eb6 column=info:seqnumDuringOpen, timestamp=1505804792797, value=\x00\x00\x00\x00\x00\x10\xF6W
40b337d29d20e04e4c.
table-name,,1505804790891.ce656052407eb6 column=info:server, timestamp=1505804792797, value=myHost:16020
40b337d29d20e04e4c.
table-name,,1505804790891.ce656052407eb6 column=info:serverstartcode, timestamp=1505804792797, value=1499875095772
40b337d29d20e04e4c.
I am not able to get state of this region, what is the way to get the state of this region.
hbase(main):067:0> version
1.1.2.2.3.2.0-2950, Wed Sep 30 18:24:54 UTC 2015