hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
Date Sat, 05 Apr 2014 03:53:19 GMT

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

stack commented on HBASE-7847:
------------------------------

[~rakeshr] So, we should require a zk 3.4.x for hbase?  It was released November 2011 so this
seems like an OK requirement to add to our list.  The hang will happen on any zk before 3.4.6?
 When was multi added?  Do you know?

Regardless of the zk version, is it true that you have to set the 'multi' configuration property
for us to even do a multi op in the first place?  Is this true?   If so, and the zk version
does not support multi ops and hbase hangs, then we have a sort of defense and we can commit
this.

Is it possible to ask zk what version it is?  It was not possible in the past but may be fixed
in 3.4.6?  If so, that'd be cool.  Then we could ask and then do multi going forward (Though
if I remember, the issue here is that only one member of the ensemble, the one we are talking
too, could report itself 3.4.6 but all others could be at an earlier version).

Thanks [~rakeshr]



> Use zookeeper multi to clear znodes
> -----------------------------------
>
>                 Key: HBASE-7847
>                 URL: https://issues.apache.org/jira/browse/HBASE-7847
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Rakesh R
>         Attachments: 7847-v1.txt, 7847_v6.patch, 7847_v6.patch, HBASE-7847.patch, HBASE-7847.patch,
HBASE-7847.patch, HBASE-7847_v4.patch, HBASE-7847_v5.patch, HBASE-7847_v6.patch
>
>
> In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize
zookeeper multi so that they're atomic



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message