hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11394) Replication can have data loss if peer id contains hyphen "-"
Date Fri, 10 Oct 2014 19:48:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167391#comment-14167391
] 

Hudson commented on HBASE-11394:
--------------------------------

FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #562 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/562/])
HBASE-11394 Replication can have data loss if peer id contains hyphen "-" (stack: rev da0af93f80a42e23fef6593d3d1523656eddbfd6)
* hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeersZKImpl.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationTrackerZKImpl.java


> Replication can have data loss if peer id contains hyphen "-"
> -------------------------------------------------------------
>
>                 Key: HBASE-11394
>                 URL: https://issues.apache.org/jira/browse/HBASE-11394
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Talat UYARER
>              Labels: beginner
>             Fix For: 2.0.0, 0.98.8, 0.99.1
>
>         Attachments: HBASE-11394.patch, HBASE-11394_v2.patch, HBASE-11394_v2.patch
>
>
> This is an extension to HBASE-8207. It seems that there is no check for the peer id string
(which is the short name for the replication peer) format. So in case a peer id containing
"-", it will cause data loss silently on server failure. 
> I did not verify the claim via testing though, this is just purely from reading the code.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message