drop

Definition

Deletes the given table permanently. Can be applied only to disabled tables.

Usage

drop '[<namespace_name>:]<table_name>'
Arguments
Parameter Description

namespace_name

A namespace name

table_name

A table name

Examples

hbase(main):010:0> drop "ns1:t2"

ERROR: Table ns1:t2 is enabled. Disable it first.

Drop the named table. Table must first be disabled:
  hbase> drop 't1'
  hbase> drop 'ns1:t1'

Took 0.0351 seconds
hbase(main):011:0> disable "ns1:t2"
Took 0.8114 seconds
hbase(main):012:0> drop "ns1:t2"
Took 0.4729 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it