From 1d65d5dfa61c3a7c5767e8ce01552bcf16303f8b Mon Sep 17 00:00:00 2001 From: Ramkrishna Date: Tue, 1 Jul 2014 22:52:47 +0530 Subject: [PATCH] HBASE-11440 Make KeyValueCodecWithTags as the default codec for replication in trunk (Ram) --- hbase-common/src/main/resources/hbase-default.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 70d20a7660b..a31e53dff75 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. 3 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'. @@ -1270,6 +1271,17 @@ possible configurations would overwhelm and obscure the important. ThreadPool. + + hbase.replication.rpc.codec + org.apache.hadoop.hbase.codec.KeyValueCodecWithTags + + 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. + +