hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Hbase DeleteAll is not working
Date Mon, 14 May 2012 17:58:41 GMT
Please don't cross-post, your question is about HBase not MapReduce
itself so I put mapreduce-user@ in BCC.

0.20.3 is, relatively to the age of the project, as old as my
grand-mother so you should consider upgrading to 0.90 or 0.92 which
are both pretty stable.

I'm curious about the shell's behavior you are encountering. Would it
be possible for you to show us the exact trace of what you are doing
in the shell?

To be clear, here's what I'd like to see:

- A get of the row you want to delete. Feel free to zero out the values.
- A deleteall of that row.
- Another get of that row.
- A delete of a column (that should work according to your email).
- A last get of that row.

Thx,

J-D

On Sun, May 13, 2012 at 9:57 PM, Mahesh Balija
<balijamahesh.mca@gmail.com> wrote:
> Hi,
>
>          I am trying to delete the whole row from hbase in my production
> cluster in two ways,
>            1) I have written a mapreduce program to remove many rows which
> satisfy certain condition to do that,
>                 The key is the hbase row key only, and the value is
> Delete, I am initializing the delete object with the Key.
>                  Delete delete = new Delete(key.get());
>                    context.write(key, delete);
>             2) From the command line I am trying to delete the selected
> record using deleteall command,
>
>            Both of the are not working, i.e., none of the records are
> being deleted from the hbase, but if I separately delete the independent
> columns thru command line then the record is being deleted if I remove all
> the individual columns. My hbase version is, hbase-0.20.3 and my hadoop
> version is 0.20.2
>
>          Please suggest me whether I am doing anything wrong or is this
> know weird behavior of the hbase?
>
> Thanks,
> Mahesh.B.

Mime
View raw message