HBASE-7674 add shell documentation for HBASE-7571
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440209 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eacea17618
commit
3d5de7ecbb
|
@ -62,6 +62,11 @@ the framework to understand how to load the coprocessor classes:
|
|||
|
||||
[coprocessor jar file location] | class name | [priority] | [arguments]
|
||||
|
||||
You can also set configuration settings specific to this table or column family:
|
||||
|
||||
hbase> alter 't1', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}
|
||||
hbase> alter 't1', {NAME => 'f2', CONFIGURATION => {'hbase.hstore.blockingStoreFiles' => '10'}}
|
||||
|
||||
You can also remove a table-scope attribute:
|
||||
|
||||
hbase> alter 't1', METHOD => 'table_att_unset', NAME => 'MAX_FILESIZE'
|
||||
|
|
|
@ -34,6 +34,7 @@ Examples:
|
|||
hbase> # The above in shorthand would be the following:
|
||||
hbase> create 't1', 'f1', 'f2', 'f3'
|
||||
hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}
|
||||
hbase> create 't1', {NAME => 'f1', CONFIGURATION => {'hbase.hstore.blockingStoreFiles' => '10'}}
|
||||
|
||||
Table configuration options can be put at the end.
|
||||
Examples:
|
||||
|
@ -44,6 +45,7 @@ Examples:
|
|||
hbase> # Optionally pre-split the table into NUMREGIONS, using
|
||||
hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
|
||||
hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}
|
||||
hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}
|
||||
|
||||
You can also keep around a reference to the created table:
|
||||
|
||||
|
|
Loading…
Reference in New Issue