Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07CF217788 for ; Sun, 26 Oct 2014 20:28:55 +0000 (UTC) Received: (qmail 56273 invoked by uid 500); 26 Oct 2014 20:28:54 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 56220 invoked by uid 500); 26 Oct 2014 20:28:54 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 56210 invoked by uid 99); 26 Oct 2014 20:28:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 20:28:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jensweh@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-ob0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 20:28:50 +0000 Received: by mail-ob0-f171.google.com with SMTP id wp18so2491124obc.16 for ; Sun, 26 Oct 2014 13:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=K9KOM3qZghfal2BGpLI26AsDbh4x4AZNTAZG2yGWzR8=; b=tJ6QDKZtfapM1k28TXOTM+QXno+sgn6+Q5FxHwJzycyJqIvL+JJZ28dwAetTbVtn3y CaQZotrj2j0a03wfIJ2dCYVe0gcMKFJ5+bvlAPpfFPCkkkFek9863XWFI1bDqu+3ng5d 0AX0lS5qOTA2MzUex10exHAXRzJ41Yf6gITF1GrJhglUf15zr47DdrnioRTp8klseL/5 UuH40P0jHlZ2lKQLIiD6lQUkwx+qO++CzF8SmBpvlSmpRvk+pcjVgkGKAZuGzxSWBeSH 3qyasskHBZLyWaW5IGfJa1WQp5sSRM0Wmcp6ChoftzeCZ1V4KJuWhKz4qiUB41m+f3a9 44MA== MIME-Version: 1.0 X-Received: by 10.202.88.66 with SMTP id m63mr15455965oib.11.1414355309855; Sun, 26 Oct 2014 13:28:29 -0700 (PDT) Received: by 10.60.37.6 with HTTP; Sun, 26 Oct 2014 13:28:29 -0700 (PDT) Date: Sun, 26 Oct 2014 21:28:29 +0100 Message-ID: Subject: RPC proxy: getLeaderParticipants -> exception From: Jens Weggemann To: user@curator.apache.org Content-Type: multipart/alternative; boundary=001a113d5d12d48a7d0506594182 X-Virus-Checked: Checked by ClamAV on apache.org --001a113d5d12d48a7d0506594182 Content-Type: text/plain; charset=UTF-8 Hi everyone, I've been trying to use Curator through its RPC proxy from C++ on Windows. Things seemed to work fine, but now I keep getting into an exception when I call getLeaderParticipants() after startLeaderSelector(). This only seems to happen when the node for the election path (/my-election) has not existed before so I guess I could work around it by creating the node beforehand. But I'd really like to understand what's going on here. I broke it down a minimal example that doesn't even call getNextEvent() to avoid the 2nd thread. The code is at https://gist.github.com/jweg/9328fe850aa4ece9d4d6 along with the exception and the log. I'm using zookeeper 3.5.0-alpha and recent masters of curator and thrift. Do I do something wrong or could this be a bug? In what? Thanks a lot, Jens --001a113d5d12d48a7d0506594182 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everyone,

I&#= 39;ve been trying to use Curator through its RPC proxy from C++ on Windows.=
Things see= med to work fine, but now I keep getting into an exception when I call getL= eaderParticipants() after startLeaderSelector().
This only seems to happen when the no= de for the election path (/my-election) has not existed before so I guess I= could work around it by creating the node beforehand.
But I'd really like to unde= rstand what's going on here.

I broke it down a minimal example that doesn't even cal= l getNextEvent() to avoid the 2nd thread.
The code is at=C2=A0https://gist.github= .com/jweg/9328fe850aa4ece9d4d6=C2=A0along with the exception and the lo= g.

I'm using = zookeeper 3.5.0-alpha and recent masters of curator and thrift.
Do I do something wron= g or could this be a bug? In what?=C2=A0

Thanks a lot,
Jens
--001a113d5d12d48a7d0506594182--