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 77735D64A for ; Tue, 28 Aug 2012 01:33:41 +0000 (UTC) Received: (qmail 70714 invoked by uid 500); 28 Aug 2012 01:33:41 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 70634 invoked by uid 500); 28 Aug 2012 01:33:41 -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 70625 invoked by uid 99); 28 Aug 2012 01:33:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 01:33:41 +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 (nike.apache.org: domain of eric.newton@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 01:33:33 +0000 Received: by qcsd16 with SMTP id d16so3741322qcs.0 for ; Mon, 27 Aug 2012 18:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uR9AQyJSFxwhikLkIMsMzb4qLbogqPXzsvZq/jZW3io=; b=lY4g+kyqKbqqNbmQ3rGiQuG7aQntWzcSWAqm4FhStagMbTJWYmkhNjQi3hOG3lleyr Sf+uPrjaI1F0nTwPsic4mf6d5DMUi/LXHcXCMHNPVexZiiTuwLi3AmfBVuyYdWGJM05M YE0FzXM0LSYn5GLiOrjZ7ikCT/8ukUkq0jJaHlAeBUcI/eKOA4k+higFDPzIGU8oMbbi y/mULMC7DtKSE+m+ssdMQB9Atkkfgng7u6AWnbyugNPoaTeOOaQpEbOoqNjpGMm2+E2n sA/boR+8ydyozo04hmLmXGSQI8CAw7WPb0LABMehkXf/gKu0eXADWWo+nloIxFOIP9hD Sgaw== MIME-Version: 1.0 Received: by 10.224.174.134 with SMTP id t6mr27286165qaz.90.1346117592775; Mon, 27 Aug 2012 18:33:12 -0700 (PDT) Received: by 10.229.126.233 with HTTP; Mon, 27 Aug 2012 18:33:12 -0700 (PDT) In-Reply-To: <503C2518.80603@gmail.com> References: <503C2518.80603@gmail.com> Date: Mon, 27 Aug 2012 21:33:12 -0400 Message-ID: Subject: Re: Command-Line Options to 'accumulo init'? From: Eric Newton To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=20cf303640b3f17a7e04c8496cb8 --20cf303640b3f17a7e04c8496cb8 Content-Type: text/plain; charset=ISO-8859-1 Here's the magic incantation, which you might find in some of the tests, too: #!/bin/sh ./bin/accumulo init --clear-instance-name < 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? >> > --20cf303640b3f17a7e04c8496cb8--