HBASE-16076 Cannot configure split policy in HBase shell
This commit is contained in:
parent
a8dfd8c436
commit
cf0f4f72d9
|
@ -270,6 +270,7 @@ public class HFileBlockIndex {
|
|||
public Cell getRootBlockKey(int i) {
|
||||
return blockKeys[i];
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockWithScanInfo loadDataBlockWithScanInfo(Cell key, HFileBlock currentBlock,
|
||||
boolean cacheBlocks, boolean pread, boolean isCompaction,
|
||||
|
|
|
@ -1412,8 +1412,7 @@ admin.createTable(tableDesc);
|
|||
[source]
|
||||
.Configuring the Split Policy On a Table Using HBase Shell
|
||||
----
|
||||
hbase> create 'test', {METHOD => 'table_att', CONFIG => {'SPLIT_POLICY' => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy'}},
|
||||
{NAME => 'cf1'}
|
||||
hbase> create 'test', {METADATA => {'SPLIT_POLICY' => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy'}},{NAME => 'cf1'}
|
||||
----
|
||||
|
||||
The default split policy can be overwritten using a custom
|
||||
|
|
Loading…
Reference in New Issue