Hi, deleteTable() from HBaseAdmin would do the job. Take look at: http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html#deleteTable%28byte[]%29
Maybe you want to call disableTable() before doing table delete too ;) Regards, sanel On Sat, Jun 4, 2011 at 12:36 PM, Azshara <[email protected]> wrote: > Hello all, > > I have a quick question: Isn't there a method to delete a whole table in the > HBase client? As I can see, a Delete object is only able to delete rows, > families or columns: > > Delete(byte[] row) > Create a Delete operation for the specified row. > Delete(byte[] row, long timestamp, RowLock rowLock) > Create a Delete operation for the specified row and timestamp, using > an optional row lock. > > This is from the 0.91.0 API. > > I need to delete a table. How do I do that? > > Thanks. > >
