Here is the definition from deleteall.rb :

      def command(table, row, column = nil,
                  timestamp =
org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP)

This is what I did:

hbase(main):003:0> deleteall 'IntegrationTestMTTR', '050ux', nil,
1393161606402
0 row(s) in 0.0770 seconds

hbase(main):004:0> get 'IntegrationTestMTTR', '050ux'
COLUMN                                       CELL
0 row(s) in 0.0110 seconds

Cheers


On Sun, Feb 23, 2014 at 1:06 AM, Ron Sher <[email protected]> wrote:

> But you can only use a timestamp on a specific column, not the whole row.
> Here's the help:
>
> Delete all cells in a given row; pass a table name, row, and optionally
> a column and timestamp. Examples:
>
>   hbase> deleteall 't1', 'r1'
>   hbase> deleteall 't1', 'r1', 'c1'
>   hbase> deleteall 't1', 'r1', 'c1', ts1
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Hbase-shell-deletall-doesnt-remove-records-tp4056162p4056246.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

Reply via email to