Repository: hbase
Updated Branches:
  refs/heads/branch-1 66220e492 -> 0eddf0c98


HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)


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

Branch: refs/heads/branch-1
Commit: 0eddf0c984c2e4169a3f312747ff279fe44ded00
Parents: 66220e4
Author: Ramkrishna <[email protected]>
Authored: Fri Sep 5 10:35:05 2014 +0530
Committer: Ramkrishna <[email protected]>
Committed: Fri Sep 5 10:35:05 2014 +0530

----------------------------------------------------------------------
 hbase-common/src/main/resources/hbase-default.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0eddf0c9/hbase-common/src/main/resources/hbase-default.xml
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/resources/hbase-default.xml 
b/hbase-common/src/main/resources/hbase-default.xml
index e335b1e..d0ec402 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -762,7 +762,8 @@ possible configurations would overwhelm and obscure the 
important.
       <value>3</value>
       <description>The HFile format version to use for new files.
       Version 3 adds support for tags in hfiles (See 
http://hbase.apache.org/book.html#hbase.tags).
-      Distributed Log Replay requires that tags are enabled.
+      Distributed Log Replay requires that tags are enabled. Also see the 
configuration
+      'hbase.replication.rpc.codec'. 
       </description>
   </property>
   <property>
@@ -1315,6 +1316,17 @@ possible configurations would overwhelm and obscure the 
important.
       ThreadPool.
     </description>
   </property>
+  <property>
+       <name>hbase.replication.rpc.codec</name>
+       <value>org.apache.hadoop.hbase.codec.KeyValueCodecWithTags</value>
+       <description>
+               The codec that is to be used when replication is enabled so that
+               the tags are also replicated. This is used along with HFileV3 
which 
+               supports tags in them.  If tags are not used or if the hfile 
version used
+               is HFileV2 then KeyValueCodec can be used as the replication 
codec. Note that
+               using KeyValueCodecWithTags for replication when there are no 
tags causes no harm.
+       </description>
+  </property>
   <!-- Static Web User Filter properties. -->
   <property>
     <description>

Reply via email to