Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 706BB97A1 for ; Tue, 28 Aug 2012 00:58:51 +0000 (UTC) Received: (qmail 91896 invoked by uid 500); 28 Aug 2012 00:58:51 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 91866 invoked by uid 500); 28 Aug 2012 00:58:51 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 91858 invoked by uid 99); 28 Aug 2012 00:58:51 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 00:58:51 +0000 Received: from localhost (HELO mail-vb0-f41.google.com) (127.0.0.1) (smtp-auth username vines, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 00:58:50 +0000 Received: by vbkv13 with SMTP id v13so5930102vbk.0 for ; Mon, 27 Aug 2012 17:58:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.247.137 with SMTP id mc9mr13014767vcb.52.1346115529854; Mon, 27 Aug 2012 17:58:49 -0700 (PDT) Reply-To: vines@apache.org Received: by 10.220.106.72 with HTTP; Mon, 27 Aug 2012 17:58:49 -0700 (PDT) Received: by 10.220.106.72 with HTTP; Mon, 27 Aug 2012 17:58:49 -0700 (PDT) In-Reply-To: <503C2518.80603@gmail.com> References: <503C2518.80603@gmail.com> Date: Mon, 27 Aug 2012 20:58:49 -0400 Message-ID: Subject: Re: Command-Line Options to 'accumulo init'? From: John Vines To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=bcaec54b5434fbcf5a04c848f1c2 --bcaec54b5434fbcf5a04c848f1c2 Content-Type: text/plain; charset=ISO-8859-1 If we add those, we also need s force flag for overwriting zookeeper info when you're reusing an instance name. Sent from my phone, so pardon the typos and brevity. On Aug 27, 2012 8:56 PM, "Josh Elser" wrote: > AFAIK, there are no CLI options for this currently. You might be able to > pipe in your instance name and passwd (two times) to get around it. > > e.g. `echo accumulo secret secret | accumulo init` > > Alternatively it should be straightforward to add -i and -p options to > `init`. > > On 08/27/2012 07:29 PM, David Medinets wrote: > >> I am scripting the installation of accumulo for no particular reason. >> I've reached the stage when I need to run "accumulo init". I've looked >> at the source and do not see any way to pass the instance name and >> password on the command line. Did I overlook something? >> > --bcaec54b5434fbcf5a04c848f1c2--