HBASE-704 update new shell docs and commands on help menu
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d09a697620
commit
ea90a78566
10
bin/hirb.rb
10
bin/hirb.rb
|
@ -114,13 +114,21 @@ HBASE SHELL COMMANDS:
|
|||
|
||||
hbase> alter 't1', {NAME => 'f1', VERSIONS => 5}
|
||||
|
||||
To create a table with an 'f1', 'f2', and 'f3' using all defaults:
|
||||
|
||||
hbase> alter 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
|
||||
|
||||
or in shorthand:
|
||||
|
||||
hbase> alter 't1', 'f1', 'f2', 'f3'
|
||||
|
||||
create Create table; pass table name, a dictionary of specifications per
|
||||
column family, and optionally a dictionary of table configuration.
|
||||
Dictionaries are described below in the GENERAL NOTES section.
|
||||
For example, to create a table named 't1' with a single family named
|
||||
'f1' with an alternate maximum number of cells, type:
|
||||
|
||||
hbase> create 't1' {NAME => 'f1', VERSIONS => 5}
|
||||
hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
|
||||
|
||||
describe Describe the named table: e.g. "hbase> describe 't1'"
|
||||
|
||||
|
|
Loading…
Reference in New Issue