[
https://issues.apache.org/jira/browse/HBASE-11440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049824#comment-14049824
]
ramkrishna.s.vasudevan commented on HBASE-11440:
------------------------------------------------
One reason could be that the ReplicationSrc and ReplicationSink decorates the
replication Rpc codec and sets it with the RPC codec.
{code}
LOG.info("The replication codec is "+replicationCodec);
if (StringUtils.isNotEmpty(replicationCodec)) {
this.conf.set(HConstants.RPC_CODEC_CONF_KEY, replicationCodec);
}
{code}
The RPC_CODEC_CONF_KEY is getting used as a key in the HConnectionKey. May be
that is where the number of connections that are created in the testcase
(including the replication related connections) are counted for and getting
closed.
> Make KeyValueCodecWithTags as the default codec for replication in trunk
> ------------------------------------------------------------------------
>
> Key: HBASE-11440
> URL: https://issues.apache.org/jira/browse/HBASE-11440
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.99.0
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.99.0
>
> Attachments: HBASE-11440.patch, HBASE-11440_1.patch
>
>
> Set
> {code}
> <property>
> <name>hbase.replication.rpc.codec</name>
> <value>org.apache.hadoop.hbase.codec.KeyValueCodecWithTags</value>
> </property>
> {code}
> in hbase-default.xml
--
This message was sent by Atlassian JIRA
(v6.2#6252)