You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/08/09 09:25:21 UTC
[jira] [Commented] (HBASE-16144) Replication queue's lock will live
forever if RS acquiring the lock has died prematurely
[ https://issues.apache.org/jira/browse/HBASE-16144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413267#comment-15413267 ]
Hudson commented on HBASE-16144:
--------------------------------
FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #1258 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1258/])
Revert "HBASE-16144 Replication queue's lock will live forever if RS (apurtell: rev a106322a4f12b96e7cc5f9056b70a02f8cbc286e)
* hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/ReplicationZKLockCleanerChore.java
> Replication queue's lock will live forever if RS acquiring the lock has died prematurely
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-16144
> URL: https://issues.apache.org/jira/browse/HBASE-16144
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0, 1.3.0, 1.4.0, 1.2.2, 0.98.20, 1.1.6
> Reporter: Phil Yang
> Assignee: Phil Yang
> Fix For: 2.0.0, 1.3.0, 1.4.0, 1.1.6, 1.2.3
>
> Attachments: HBASE-16144-0.98.v1.patch, HBASE-16144-branch-1-v1.patch, HBASE-16144-branch-1-v2.patch, HBASE-16144-branch-1.1-v1.patch, HBASE-16144-branch-1.1-v2.patch, HBASE-16144-v1.patch, HBASE-16144-v2.patch, HBASE-16144-v3.patch, HBASE-16144-v4.patch, HBASE-16144-v5.patch, HBASE-16144-v6.patch, HBASE-16144-v6.patch
>
>
> In default, we will use multi operation when we claimQueues from ZK. But if we set hbase.zookeeper.useMulti=false, we will add a lock first, then copy nodes, finally clean old queue and the lock.
> However, if the RS acquiring the lock crash before claimQueues done, the lock will always be there and other RS can never claim the queue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)