hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11341) ZKProcedureCoordinatorRpcs should respond only to members
Date Sat, 14 Jun 2014 06:04:01 GMT

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

Matteo Bertozzi commented on HBASE-11341:
-----------------------------------------

{quote}It does not listen for create event on /hbase/<proc>/reached/<instance>.
Does it sound right?{quote}
no, in ZKProcedureCoordinatorRpcs.start() we are watching the "acquired", "reached", "abort"
znodes and then on nodeCreate() we dispatch the events to the right Procedure.
https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java#L74
https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureUtil.java#L88

> ZKProcedureCoordinatorRpcs should respond only to members
> ---------------------------------------------------------
>
>                 Key: HBASE-11341
>                 URL: https://issues.apache.org/jira/browse/HBASE-11341
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.99.0, 0.94.20, 0.98.3
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.99.0, 0.94.21, 0.98.4
>
>         Attachments: HBASE-11341-v0.patch
>
>
> ZKProcedureCoordinatorRpcs nodeCreated() responds to events of every znode under the
procedure and not only members.
> {code}
> INFO: Received created event: /hbase/<proc>/reached/<instance>
> INFO: Received created event: /hbase/<proc>/reached/<instance>/<member>
> {code}
> the result is a warning (no other side effects)
> {code}
> WARN [main-EventThread] procedure.ProcedureCoordinator: Member '<instance>' is
trying to release an unknown procedure 'reached
> {code}
> [~apurtell] posted in HBASE-10926 the steps to reproduce it:
> {noformat}
> $ cd ./src/hbase
> $ git checkout master
> $ mvn -DskipTests clean install
> {noformat}
> In one console:
> {noformat}
> $ ./bin/hbase master start
> {noformat}
> In another console:
> {noformat}
> $ ./bin/hbase org.apache.hadoop.hbase.util.LoadTestTool -num_keys 100000 \
>     -read 10:100 -write 1:100:10
> {noformat}
> In a third console:
> {noformat}
> $ ./bin/hbase shell
> hbase> while true do ; flush 'cluster_test' ; sleep 10 ; end
> {noformat}



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

Mime
View raw message