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-16572) Sync method in RecoverableZooKeeper failed to pass callback function in
Date Wed, 07 Sep 2016 20:05:20 GMT

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

Hudson commented on HBASE-16572:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.4 #400 (See [https://builds.apache.org/job/HBase-1.4/400/])
HBASE-16572 Sync method in RecoverableZooKeeper failed to pass callback (tedyu: rev 354706a7d818e202f8db5e9f4c6c1fa8dba6fd93)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java


> Sync method in RecoverableZooKeeper failed to pass callback function in
> -----------------------------------------------------------------------
>
>                 Key: HBASE-16572
>                 URL: https://issues.apache.org/jira/browse/HBASE-16572
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>    Affects Versions: 2.0.0, 1.1.4
>            Reporter: Allan Yang
>            Assignee: Allan Yang
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-16572.patch
>
>
> {code:java}
> public void sync(String path, AsyncCallback.VoidCallback cb, Object ctx) throws KeeperException
{
>     checkZk().sync(path, null, null); //callback function cb is not passed in
>   }
> {code}
> It is obvious that the callback method is not passed in.  Since sync operation in Zookeeper
is a 'async' operation, we need a callback method to notify the caller that the 'sync' operation
is finished.



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

Mime
View raw message