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 63D929805 for ; Tue, 28 Aug 2012 01:10:42 +0000 (UTC) Received: (qmail 17886 invoked by uid 500); 28 Aug 2012 01:10:42 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 17830 invoked by uid 500); 28 Aug 2012 01:10:42 -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 17819 invoked by uid 99); 28 Aug 2012 01:10:42 -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:10:42 +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 vincent.russell@gmail.com designates 209.85.160.41 as permitted sender) Received: from [209.85.160.41] (HELO mail-pb0-f41.google.com) (209.85.160.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 01:10:34 +0000 Received: by pbbro12 with SMTP id ro12so8611251pbb.0 for ; Mon, 27 Aug 2012 18:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=OdCTRqhcpOG+sOFHppkqurKhRtf7M+KRiB0c+s5VEr8=; b=AUYbklOCQR6OclUxbWlQcCYZsV+VZosnLOJkUiyRXdzzUBm5xL/07mnGRxc8JrAKjA WPV09h9QxfaWjxj20oME5wFO2jYhw6KARypCOZB71g5DdUrf0w9TTO2mmAoKJmHqDNTG +KfszwEH/qTQPesetb2ArAdvRF/VQc7nXsH8OXjj+FtAEVIlt/T/B3AT0YIay6g1fsr1 I9Db01VHeVo6fh6FuPieqIq38F8fnkamdKlYDSEPlU5a/IBakoHLXr1SEsG8n4X/wu1B iRPK829exIYcBFm5fNluMXKXbCbvQk9oFJQepoMM19ENQeZs2rPk1P6k27lh2ZiCh13X djtw== Received: by 10.66.82.97 with SMTP id h1mr33848095pay.45.1346116213359; Mon, 27 Aug 2012 18:10:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.5.39 with HTTP; Mon, 27 Aug 2012 18:09:52 -0700 (PDT) In-Reply-To: <503C2518.80603@gmail.com> References: <503C2518.80603@gmail.com> From: Vincent Russell Date: Mon, 27 Aug 2012 21:09:52 -0400 Message-ID: Subject: Re: Command-Line Options to 'accumulo init'? To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=f46d042f91f8b9447a04c8491a43 --f46d042f91f8b9447a04c8491a43 Content-Type: text/plain; charset=ISO-8859-1 You can also write an expect script to achieve this. On Mon, Aug 27, 2012 at 9:55 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? >> > --f46d042f91f8b9447a04c8491a43--