hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenh...@apache.org
Subject hbase git commit: HBASE-16076 Cannot configure split policy in HBase shell
Date Mon, 18 Jul 2016 02:29:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/master a8dfd8c43 -> cf0f4f72d


HBASE-16076 Cannot configure split policy in HBase shell


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cf0f4f72
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cf0f4f72
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cf0f4f72

Branch: refs/heads/master
Commit: cf0f4f72d989a86d062010773874d98870ad2e59
Parents: a8dfd8c
Author: chenheng <chenheng@apache.org>
Authored: Mon Jul 18 10:28:05 2016 +0800
Committer: chenheng <chenheng@apache.org>
Committed: Mon Jul 18 10:28:05 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java    | 1 +
 src/main/asciidoc/_chapters/architecture.adoc                     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cf0f4f72/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
index 66968e0..222e146 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
@@ -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,

http://git-wip-us.apache.org/repos/asf/hbase/blob/cf0f4f72/src/main/asciidoc/_chapters/architecture.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc
index 4b88665..cfdd638 100644
--- a/src/main/asciidoc/_chapters/architecture.adoc
+++ b/src/main/asciidoc/_chapters/architecture.adoc
@@ -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


Mime
View raw message