[ 
https://issues.apache.org/jira/browse/HBASE-12701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313573#comment-14313573
 ] 

Hudson commented on HBASE-12701:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #6109 (See 
[https://builds.apache.org/job/HBase-TRUNK/6109/])
HBASE-12701 Document how to set the split policy on a given table 
(mstanleyjones: rev 9283b93e225edfaddbb8b24dd1b8214bcd328e97)
* src/main/asciidoc/_chapters/architecture.adoc


> Document how to set the split policy on a given table
> -----------------------------------------------------
>
>                 Key: HBASE-12701
>                 URL: https://issues.apache.org/jira/browse/HBASE-12701
>             Project: HBase
>          Issue Type: Task
>          Components: documentation
>            Reporter: Misty Stanley-Jones
>            Assignee: Misty Stanley-Jones
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12701-asciidoc.patch, HBASE-12701.patch
>
>
> Need to document in the ref guide how to set/change the region split policy 
> for a single table user the API and the HBase shell as noted below as an 
> example.
> Using Java:
> HTableDescriptor tableDesc = new HTableDescriptor("test");
> tableDesc.setValue(HTableDescriptor.SPLIT_POLICY, 
> ConstantSizeRegionSplitPolicy.class.getName());
> tableDesc.addFamily(new HColumnDescriptor(Bytes.toBytes("cf1")));
> admin.createTable(tableDesc);
> Using HBase Shell:
> create 'test', {METHOD => 'table_att', CONFIG => {'SPLIT_POLICY' => 
> 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy'}},
> {NAME => 'cf1'}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to