truncate

Definition

Disables, drops, and recreates the specified table.

Usage

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

namespace_name

A namespace name

table_name

A table name

Examples

hbase(main):004:0> truncate 't4'
Truncating 't4' table (it may take a while):
Disabling table...
Truncating table...
Took 2.1331 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it