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 1ECA52004A1 for ; Thu, 24 Aug 2017 20:27:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1BE5316B597; Thu, 24 Aug 2017 18:27:21 +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 6281B16B594 for ; Thu, 24 Aug 2017 20:27:20 +0200 (CEST) Received: (qmail 36365 invoked by uid 500); 24 Aug 2017 18:27:17 -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 36340 invoked by uid 99); 24 Aug 2017 18:27:17 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2017 18:27:17 +0000 Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 1E18F1A002B for ; Thu, 24 Aug 2017 18:27:17 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 88324217B0 for ; Thu, 24 Aug 2017 14:27:15 -0400 (EDT) Received: from web1 ([10.202.2.211]) by compute6.internal (MEProxy); Thu, 24 Aug 2017 14:27:15 -0400 X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 74E6095712; Thu, 24 Aug 2017 14:27:15 -0400 (EDT) Message-Id: <1503599235.2871429.1084007648.3DDE3F27@webmail.messagingengine.com> From: Abraham Fine To: user@zookeeper.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-13b5a8c9 In-Reply-To: Date: Thu, 24 Aug 2017 11:27:15 -0700 References: Subject: Re: multiple servers on localhost archived-at: Thu, 24 Aug 2017 18:27:21 -0000 Hi Steve- Is that the entire stack trace? Abe On Thu, Aug 24, 2017, at 10:59, Steve Pruitt wrote: > I am in ZK learn mode. I followed a setup I found for an initial ZK > ensemble evaluation setup for running on same machine (Windows). Once I > know a bit more I plan to push the setup to different VM's. > > I think the setup I ofund is no longer valid for version 3.4.6. > > The data dir's were created as below, each with the myid file set to > 1,2,3 respectively: > C:\ProgramData\ZooKeeper\1\data > C:\ProgramData\ZooKeeper\2\data > C:\ProgramData\ZooKeeper\3\data > > In the zookeeper-3.4.6\conf folder I have zoo1.cfg, zoo2.cfg, zoo3.cfg. > They all look as below. But, I incremented the folder name (2 and 3) and > incremented all port numbers in each cfg file. > > dataDir=/ProgramData/ZooKeeper/1/data > # the port at which the clients will connect > clientPort=2181 > server.1=localhost:2888:3888 > server.2=localhost:2889:3889 > server.3=localhost:2890:3890 > > Next, I tried executing ZK via: zkServer.cmd start zoo1.cfg. Startup > fails and I get: > > [myid:] - ERROR [main:ZooKeeperServerMain@54] - Invalid arguments, > exiting abnormally > java.lang.NumberFormatException: For input string: > "C:\Servers\zookeeper-3.4.6\bin\..\conf\zoo.cfg" > at java.lang.NumberFormatException.forInputString(Unknown Source) > > > Looking online it looks like this setup is no longer supported. You > can't pass the cfg file as an argument. Is the only way to have all ZK's > running on same machine a separate folder for each server? > > Next, I plan to run SolrCloud with my setup. > > Thanks. > > -S > > > > > > > > > > > > > > > >