Return-Path: X-Original-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80B969AE5 for ; Fri, 16 Mar 2012 17:42:42 +0000 (UTC) Received: (qmail 27466 invoked by uid 500); 16 Mar 2012 17:42:42 -0000 Delivered-To: apmail-incubator-accumulo-user-archive@incubator.apache.org Received: (qmail 27435 invoked by uid 500); 16 Mar 2012 17:42:42 -0000 Mailing-List: contact accumulo-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-user@incubator.apache.org Delivered-To: mailing list accumulo-user@incubator.apache.org Received: (qmail 27426 invoked by uid 99); 16 Mar 2012 17:42:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 17:42:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.175] (HELO mail-gx0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 17:42:37 +0000 Received: by ggcy3 with SMTP id y3so4416525ggc.6 for ; Fri, 16 Mar 2012 10:42:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=eZC0bA1WAmcTjsrvZUUoCTd6hhNYF7FynM0s3YyLZmE=; b=Jyqg83ZyUHR1SfKUPEPISEkLhfemvDuyl7xvLTAOBrWkNjhIc3h0958f6S40v6/Lx7 ExcbjaLgS1pxSOsNgdql8voN4Yxl5W7BrnTaMWdJEonjQOfW1Um8AozbJiAll/qfgHGw tyOo3XkZEAW2kfMZNhxq2fzNkWWRgq99zXT9m+/GtqC64KL7AaGJKTBUpB2BJncGGiMP pAd8j/iHUdT9C8w4ANzDf0UHete/Y91UhSYMRncXLVygNHCBQ6VDCFgYwC4NGj6/MQ2l bLi/YL2MnH3BDXcmigQm8iI6k/L4QHi7k1ZPaf4DUCGW5b8kE34qHifYa7W+SoZXF9SZ DS9w== MIME-Version: 1.0 Received: by 10.224.218.10 with SMTP id ho10mr4859524qab.16.1331919736410; Fri, 16 Mar 2012 10:42:16 -0700 (PDT) Received: by 10.229.164.20 with HTTP; Fri, 16 Mar 2012 10:42:16 -0700 (PDT) In-Reply-To: References: <7DF22D8C-7014-4100-9263-CB02CE9985E3@cray.com> <1701454682.215004.1331836655508.JavaMail.root@linzimmb04o.imo.intelink.gov> Date: Fri, 16 Mar 2012 13:42:16 -0400 Message-ID: Subject: Re: start-all.sh should do some basic verification (was Accumulo fails to start) From: Keith Turner To: accumulo-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQld0tm/zdVsMfjaKHHwMSoygYeyEW0FdFY/pa2NWtsRHKmsvptVtz5gSpy5ZClpzFS7nmJz X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Mar 16, 2012 at 12:08 PM, Robert Vesse wrote: > Hi John > > A more robust way to detect JAVA_HOME would be nice but I don't have any > great ideas on that front > > What I was thinking was more along the lines of can something in > start-all.sh ping the servers that should have started as a basic sanity > check to see that Accumulo actually started up? > > Rob > Rob I think the scripts may need to be restructured to accomplish this goal. The scripts construct a slightly complicated command to start a server and then execute that command using "ssh -q". The problem is the -q options that suppresses error messages. Instead of doing this, we could execute a script remotely using ssh and not use the -q option. The script would execute the slightly complex command to start the server, supress noise, and reliably detect if the process started or not. Thoughts? Keith