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 EFF11200B3E for ; Wed, 7 Sep 2016 16:17:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9BA6160AA3; Wed, 7 Sep 2016 14:17: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 33452160AC1 for ; Wed, 7 Sep 2016 16:17:22 +0200 (CEST) Received: (qmail 43540 invoked by uid 500); 7 Sep 2016 14:17:20 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 43443 invoked by uid 99); 7 Sep 2016 14:17:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 14:17:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 86EF12C1B7F for ; Wed, 7 Sep 2016 14:17:20 +0000 (UTC) Date: Wed, 7 Sep 2016 14:17:20 +0000 (UTC) From: "Allan Yang (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16572) Sync method in RecoverableZooKeeper failed to pass callback fucntion 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 14:17:23 -0000 Allan Yang created HBASE-16572: ---------------------------------- Summary: Sync method in RecoverableZooKeeper failed to pass callback fucntion in Key: HBASE-16572 URL: https://issues.apache.org/jira/browse/HBASE-16572 Project: HBase Issue Type: Bug Components: Zookeeper Affects Versions: 1.1.4, 2.0.0 Reporter: Allan Yang Priority: Minor Fix For: 2.0.0 {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)