Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A9AFC200B3E for ; Wed, 7 Sep 2016 22:05:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A87C6160ACF; Wed, 7 Sep 2016 20:05:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EE45B160AC1 for ; Wed, 7 Sep 2016 22:05:21 +0200 (CEST) Received: (qmail 71249 invoked by uid 500); 7 Sep 2016 20:05:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 71218 invoked by uid 99); 7 Sep 2016 20:05:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 20:05:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B439E2C1B82 for ; Wed, 7 Sep 2016 20:05:20 +0000 (UTC) Date: Wed, 7 Sep 2016 20:05:20 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16572) Sync method in RecoverableZooKeeper failed to pass callback function in MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Sep 2016 20:05:22 -0000 [ 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)