get_splits

Definition

Gets splits of the given table — row key values used to define Region boundaries. See more details in the HBase architecture article.

Usage

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

namespace_name

A namespace name

table_name

A table name

Examples

A table without splitting

hbase(main):001:0> get_splits 't4'
Total number of splits = 1
Took 0.4184 seconds
=> []

A table with splitting

hbase(main):014:0> get_splits 'people_ages'
Total number of splits = 5
F
K
P
W
Took 0.0128 seconds
=> ["F", "K", "P", "W"]
Found a mistake? Seleсt text and press Ctrl+Enter to report it