You can also find the same information using you HBase shell: hbase(main):006:0> help "delete" Put a delete cell value at specified table/row/column and optionally timestamp coordinates. Deletes must match the deleted cell's coordinates exactly. When scanning, a delete cell suppresses older versions. To delete a cell from 't1' at row 'r1' under column 'c1' marked with the time 'ts1', do:
hbase> delete 't1', 'r1', 'c1', ts1 hbase(main):007:0> help "deleteall" 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 Basically, for delete, table name, rowid and columns are mandatory. While for deleteall, onlly table and rowid are mandatory. JM 2014-06-16 4:07 GMT-04:00 Ted Yu <[email protected]>: > Please take a look at section 3 in: > http://learnhbase.wordpress.com/2013/03/02/hbase-shell-commands/ > > Cheers > > On Jun 16, 2014, at 12:21 AM, ch huang <[email protected]> wrote: > > > hi,maillist: > > > > any difference between the following two command in hbase shell? > > *deleteall ‘t1′, ‘r1′, ‘c1′, ts1 * > > * delete ‘t1′, ‘r1′, ‘c1′, ts1* >
