You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rajam S <ra...@infinilytics.com> on 2017/11/28 11:21:38 UTC
Delete row by row key not working through hbase shell and through JAVA API
Hi,
I am trying to delete some spurious rows that got added in my hbase
table. The command I am using is this:
deleteall 'my_table','row-key'
The rows don't get deleted through hbase shell and through java API. I
am still debugging my code to see how these rows got added.
I tried deleting many other rows using above command and it works fine.
I have already checked the timestamp values, to rule out any errors
there. My current timestamp is not earlier than the timestamp i am
deleting.
Can somebody please help me to understand what is happening.
Thanks.
Regards,
Rajam S
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Re: Delete row by row key not working through hbase shell and through
JAVA API
Posted by Ted Yu <yu...@gmail.com>.
I think the 'row-key' in your example is only a placeholder.
Can you describe the rowkey(s) in more detail ?
Which version of hbase are you using ?
Did you find anything interesting in the region server log where the row is
hosted ?
Cheers
On Tue, Nov 28, 2017 at 3:21 AM, Rajam S <ra...@infinilytics.com> wrote:
> Hi,
>
> I am trying to delete some spurious rows that got added in my hbase table.
> The command I am using is this:
>
> deleteall 'my_table','row-key'
>
> The rows don't get deleted through hbase shell and through java API. I am
> still debugging my code to see how these rows got added.
> I tried deleting many other rows using above command and it works fine.
> I have already checked the timestamp values, to rule out any errors there.
> My current timestamp is not earlier than the timestamp i am deleting.
>
> Can somebody please help me to understand what is happening.
>
> Thanks.
> Regards,
> Rajam S
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>