truncate_preserve

Definition

Disables, drops, and recreates the specified table, maintaining the previous Region boundaries.

Usage

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

namespace_name

A namespace name

table_name

A table name

Examples

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