[
https://issues.apache.org/jira/browse/HBASE-11440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049677#comment-14049677
]
ramkrishna.s.vasudevan commented on HBASE-11440:
------------------------------------------------
The bug is not because of the new codec. The bug is because when we add this
configuration and say KeyValueCodec only as the replication codec still this
test fails here.
{code}
2014-07-02 14:28:44,169 TRACE [RS:1;server-1200:52096.replicationSource,2]
regionserver.ReplicationSource(725): Replicating 1 entries of total size 168
2014-07-02 14:28:44,174 TRACE [M:0;server-1200:46311.replicationSource,2]
regionserver.ReplicationSource(502): Opening log
hdfs://localhost:43722/user/root/hbase/WALs/server-1200.novalocal,46311,1404282463072/server-1200.novalocal%2C46311%2C1404282463072.1404282467782
2014-07-02 14:28:44,175 WARN [RS:1;server-1200:52096.replicationSource,2]
regionserver.ReplicationSource(784): Can't replicate because of a local or
network error:
org.apache.hadoop.hbase.ipc.StoppedRpcClientException
at
org.apache.hadoop.hbase.ipc.RpcClient.getConnection(RpcClient.java:1571)
at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1471)
at
org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1665)
at
org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1730)
at
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$BlockingStub.replicateWALEntry(AdminProtos.java:21036)
at
org.apache.hadoop.hbase.protobuf.ReplicationProtbufUtil.replicateWALEntry(ReplicationProtbufUtil.java:65)
at
org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.shipEdits(ReplicationSource.java:728)
{code}
Adding this property in hbase-default.xml causes this issue. Will check and
come back on this if this is a Testcase only issue or a real issue.
> 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)