Repository: hbase Updated Branches: refs/heads/master 5f3c0b7f9 -> 1d65d5dfa
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/1d65d5df Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1d65d5df Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1d65d5df Branch: refs/heads/master Commit: 1d65d5dfa61c3a7c5767e8ce01552bcf16303f8b Parents: 5f3c0b7 Author: Ramkrishna <[email protected]> Authored: Tue Jul 1 22:52:47 2014 +0530 Committer: Ramkrishna <[email protected]> Committed: Tue Jul 1 22:55:39 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/1d65d5df/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 70d20a7..a31e53d 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -716,7 +716,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> @@ -1270,6 +1271,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>
