hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16786) Procedure V2 - Move ZK-lock's uses to Procedure framework locks (LockProcedure)
Date Mon, 10 Oct 2016 03:33:20 GMT

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

Appy commented on HBASE-16786:

Uploaded first version of patch. Still need to figure out how to handle mob locks.
Mob advertises that it uses zk locks for mutual exclusion between sweep job which won't be
possible now if master is down.
Also this non-trivial lock operations: https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java#L465

We have two options:
1. keep zk locks: maybe external tools take master lock (if master is available) otherwise,
 zk lock. When master starts up, it too tries to take zk lock.
2. Get rid of zk locks: If master isn't alive, tools don't work until forced by cmd line option,
say "--ignore-locks". 
[~mbertozzi], how should we do it?

> Procedure V2 - Move ZK-lock's uses to Procedure framework locks (LockProcedure)
> -------------------------------------------------------------------------------
>                 Key: HBASE-16786
>                 URL: https://issues.apache.org/jira/browse/HBASE-16786
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Appy
>            Assignee: Appy
>         Attachments: HBASE-16786.master.001.patch

This message was sent by Atlassian JIRA

View raw message