Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D768218C78 for ; Tue, 10 Nov 2015 08:54:11 +0000 (UTC) Received: (qmail 66845 invoked by uid 500); 10 Nov 2015 08:54:11 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 66764 invoked by uid 500); 10 Nov 2015 08:54:10 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 66752 invoked by uid 99); 10 Nov 2015 08:54:10 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 08:54:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3A60D180A25 for ; Tue, 10 Nov 2015 08:54:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=motum_be.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GN2Iw1Mi7zxh for ; Tue, 10 Nov 2015 08:53:59 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2787220C6E for ; Tue, 10 Nov 2015 08:53:59 +0000 (UTC) Received: by wmdw130 with SMTP id w130so61088950wmd.0 for ; Tue, 10 Nov 2015 00:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=motum_be.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=VPneNz+2Dhdbk84+EezzQ0fafA1uJHSkrNatLdRtouY=; b=dlpKAeZwiRT7WhSfpez3JnqAOoFuhCJw3r3KsqPC2dHY2hoevcwOW7492ArIGB6Myf mL5UuMpoXs8xvh55FX9UtZgicxroa7jXn8GGVtzVDqRpNkJiLuXj7E/jFaXNm/BXzAh8 HMmG8mTtvA1fEIdIy1l3Dq7opgPCdzU/+pI/Amsslkd8J0wbeyZRexjMFhVqaEOxCn1u v+4Gh2UApamhxGtSKiwulfHmp4aMaIbpu6W1Lha8vosBss4MZdyDfOQmiA0yU/vmZDlD Ld8B2kfNX0RPDAOaXpv9k3dTXhlTCT6uAmb5h/H++HRppfcofRIcndhUXJv2q+c1/PvO iJAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=VPneNz+2Dhdbk84+EezzQ0fafA1uJHSkrNatLdRtouY=; b=kpc3IkHrwyXw4Q3uflcMtSiCG2QRdQjByeXHhpaWrgaC0sE6MhH8/irZGoOIof4Cxl xfeB8yMCpNJ/7bPiqG+V9Qn3chdSPSzgoDA4Zn7N8Vc36NEl4CTr9RFMzV6gtQwkkmNe pBWUF0hGQ4b0qYWkkXB/7GNsSiqCD+Ej9go3xEqGS2JKjEtfPqgY+08X+29lgA7YhpY9 xd1gVfAMleG82iTjh8e9lET8ZRtaV9sFRt7Prxs5oteKVDaISd5UcaWyUWcWpUM9pepH 1eLQoCBXhwx73f8ba/BtWPCPaGHE6X97yk5Xg9m2GEm6qPlmTjwXZhcQV4sv84BG+hbb z2Ew== X-Gm-Message-State: ALoCoQmgecTMJB9bf8QbyqxH+nlyCKwKNB//vW6u7hI2s70CD9FSIfaK+B0zyt+y+/PoYp4TslxE X-Received: by 10.28.148.133 with SMTP id w127mr746576wmd.92.1447145638892; Tue, 10 Nov 2015 00:53:58 -0800 (PST) Received: from [10.72.0.227] ([91.183.125.230]) by smtp.gmail.com with ESMTPSA id bh5sm2267266wjb.42.2015.11.10.00.53.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Nov 2015 00:53:58 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: It appears the wrong File seperator is used when dynamicConfigFile in zoo.cfg changes. (in 3.5.1-alpha) From: Dean Voets In-Reply-To: Date: Tue, 10 Nov 2015 09:53:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0E48F6EE-4DB4-4C17-9C4C-530D18BFC455@motum.be> To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.2104) Hello Chris, Thanks for your reply. Yesterday I have build version 3.5.2 locally and = tested it on our test setup (with the computers we use on the vehicles). = I=92m glad to report that everything works fine now. The planning software that I mentioned is a distributed system with an = instance on each vehicle deciding which order should be executed by = which vehicle, what route to take etc. We use ZooKeeper mainly for = keeping track of the state of the orders. ZooKeeper allows our system to = continue working if not every vehicle is reachable.=20 Our last client often has multiple vehicles turned off because their = factory is not working at full capacity yet. Therefore, it was very = important for us to be able to reconfigure ZooKeeper depending on if the = vehicle is in service or not. Vehicles that are out of service are = changed to observers and when they are restarted they change back to = participant. Thanks again for your help, Dean Voets > On 06 Nov 2015, at 19:05, Chris Nauroth = wrote: >=20 > Hello Dean, >=20 > Wow, forklift automation! That's a use case I haven't seen before for > ZooKeeper. :-) >=20 > You are correct that this is a bug. We have a fix already, and it = will > ship in ZooKeeper 3.5.2. See issue ZOOKEEPER-2244 for more details. >=20 > https://issues.apache.org/jira/browse/ZOOKEEPER-2244 >=20 >=20 > If you don't want to wait for the 3.5.2 release, then you could = consider > applying that patch manually yourself and rebuilding. Also, if you = don't > need the ZooKeeper 3.5 features immediately, then another option would = be > to go back to ZooKeeper 3.4. Our current stable release line is the = 3.4 > line. >=20 > I hope this helps. >=20 > --Chris Nauroth >=20 >=20 >=20 >=20 > On 11/6/15, 9:59 AM, "Dean Voets" wrote: >=20 >> Hello, >>=20 >> This week I got to know ZooKeeper by working on the distributed = planning >> system at work (in automation of fork lifts). I upgraded the = zookeeper >> version we use to the new 3.5.1 version to support a changing fleet = size >> using the dynamic reconfiguration in ZooKeeper. >> During the initial tests on my development laptop (mac OS) everything >> worked nicely. Unfortunately this changed when trying it on the = embedded >> windows systems used in our vehicles. Soon after starting the = zookeeper >> servers, a version is added in the filename of the dynamic = configuration >> file specified in zoo.cfg. The updated location of the file is saved >> using \ as file seperator instead of / causing FileNotFoundExceptions = in >> QuorumPeerMain.=20 >> I=B9ve been looking for the cause of this for a while now but I=B9m = stuck so >> I hope someone can point me in the right direction to find the = problem. >> At this point I have no clue if this is caused by a mistake in >> configuration from me (and what configuration that could cause this) = or >> if I should be looking at the zooKeeper classes for some windows = specific >> bug (or which class in zookeeper updates the zoo.cfg when the dynamic >> configuration changes). >>=20 >> Thanks in advance, >> Dean Voets >>=20 >>=20 >=20