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 C80CE10BED for ; Wed, 2 Oct 2013 18:57:22 +0000 (UTC) Received: (qmail 61341 invoked by uid 500); 2 Oct 2013 18:57:22 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 60950 invoked by uid 500); 2 Oct 2013 18:57:16 -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 60942 invoked by uid 99); 2 Oct 2013 18:57:15 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 18:57:15 +0000 Received: from localhost (HELO mail-wi0-f169.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 18:57:15 +0000 Received: by mail-wi0-f169.google.com with SMTP id hj3so7340068wib.4 for ; Wed, 02 Oct 2013 11:57:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=w/y1cPGdk2ZgNQ3Ow2RYuROXdlzdZZIwkNqk2HYuTvU=; b=MqrfuFGvM0Y1ZG547eFAQOe4O1+il+vvZx23/2PSrpF6ll31/W+aCJqTd3RsjzpINm rfSFiEIpzui9IQljc3eAHce0jhY1a7NQ+gP4yKvFgTg9Y1oSHIb4UkT9PVTcvPIl87lt Dr6Pbej940vcNMpn4ZUxTmzZ8Tdqt0j8dRwlWX6R7BeFhX6SR2pmoT+ysJ98Bkdy1KKL GGu/1+X+LD3ncPcIjKDlrqdHk0qWv1AWuRqnh79EgPbQXmATJOlLc7J2Y9YeN91897Y0 rUrSjYrPdvRGtmvUhKPM8ySSqu80KDl2+k4wtJmpVpYt+LAdxbEWy6MM2xIv7mkjZ4S1 mHVA== X-Received: by 10.194.241.228 with SMTP id wl4mr3669349wjc.2.1380740233675; Wed, 02 Oct 2013 11:57:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.152.193 with HTTP; Wed, 2 Oct 2013 11:56:52 -0700 (PDT) In-Reply-To: References: From: Patrick Hunt Date: Wed, 2 Oct 2013 11:56:52 -0700 Message-ID: Subject: Re: Command-line arg instead of myid file? To: UserZooKeeper Content-Type: text/plain; charset=ISO-8859-1 This comes up every so often. Likely we should create a FAQ for this (anyone?) https://issues.apache.org/jira/browse/ZOOKEEPER-1780 Take a look at the mailing list archives, here's one http://markmail.org/message/cvzz3tq3gievicqe Patrick On Mon, Sep 30, 2013 at 2:13 PM, Matthias Ogden wrote: > The "myid" file is currently causing me a fair bit of grief because I have > to manually create the file on each host in my cluster. > > Is there a philosophical reason why it wouldn't be possible to change > ZooKeeper to support a command-line argument instead of the myid file? Then > I could provide custom launch args to each instance while leaving the host > bootstrapping alone.