You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ravi Kumar Bommada <br...@juniper.net> on 2016/11/29 09:58:11 UTC

deleteAll not working for regions with startkey

Hi,

I'm trying to delete a row from 'hbase:meta' by providing region name as below:

deleteall 'hbase:meta', 'EDGE,acc_sr\x00344739220_768a74f5-cf1b-11e5-9e5b-005056a93f00\x00sr\x00-->\x00\x00\x7F\xFF\xFE\xB4\x8A\xABto2015-0128-T-0573,1467107859752.c596a0695736e4b18babdb8fe458d7bd.'

I'm getting output as ERROR: Row Not Found, but I could see the row in web ui and dump of meta table.

When I'm trying to delete one region without startkey, I could delete that row, for example:

deleteall 'hbase:meta', 'EDGE,,1455098754904.39683a213541a2a45cc9509c82c6c5ba.'

This delete is happening, but deleting the region with startkey is not happening.

Please provide me clues in case of any.

Thank's

Regard's

Ravi Kumar B
Mob: +91 9591144511




Re: deleteAll not working for regions with startkey

Posted by Ted Yu <te...@yahoo.com.INVALID>.
Did you copy the start key verbatim ?
Please take a look at ./hbase-shell/src/main/ruby/shell.rb to see example of proper escaping.
Cheers 

    On Tuesday, November 29, 2016 1:58 AM, Ravi Kumar Bommada <br...@juniper.net> wrote:
 

 Hi,

I'm trying to delete a row from 'hbase:meta' by providing region name as below:

deleteall 'hbase:meta', 'EDGE,acc_sr\x00344739220_768a74f5-cf1b-11e5-9e5b-005056a93f00\x00sr\x00-->\x00\x00\x7F\xFF\xFE\xB4\x8A\xABto2015-0128-T-0573,1467107859752.c596a0695736e4b18babdb8fe458d7bd.'

I'm getting output as ERROR: Row Not Found, but I could see the row in web ui and dump of meta table.

When I'm trying to delete one region without startkey, I could delete that row, for example:

deleteall 'hbase:meta', 'EDGE,,1455098754904.39683a213541a2a45cc9509c82c6c5ba.'

This delete is happening, but deleting the region with startkey is not happening.

Please provide me clues in case of any.

Thank's

Regard's

Ravi Kumar B
Mob: +91 9591144511