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:
Michael Stack 2008-06-25 17:19:17 +00:00
parent d09a697620
commit ea90a78566
1 changed files with 9 additions and 1 deletions

View File

@ -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'"