Repository: hbase Updated Branches: refs/heads/master 3411f830e -> 4445b3046
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/4445b304 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4445b304 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4445b304 Branch: refs/heads/master Commit: 4445b30464b60e158eeeae37c41b82b3b3a665f5 Parents: 3411f83 Author: Ramkrishna <[email protected]> Authored: Wed Aug 27 10:03:55 2014 +0530 Committer: Ramkrishna <[email protected]> Committed: Wed Aug 27 10:03:55 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/4445b304/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 30d50df..c724c27 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -858,7 +858,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> @@ -1432,6 +1433,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>
