Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7D410029 for ; Thu, 17 Oct 2013 21:03:18 +0000 (UTC) Received: (qmail 41249 invoked by uid 500); 17 Oct 2013 21:02:53 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 41009 invoked by uid 500); 17 Oct 2013 21:02:45 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 40946 invoked by uid 99); 17 Oct 2013 21:02:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 21:02:42 +0000 Date: Thu, 17 Oct 2013 21:02:42 +0000 (UTC) From: "Sean Busbey (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-1785) Alter config.sh to optionally just verify environment instead of making changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sean Busbey created ACCUMULO-1785: ------------------------------------- Summary: Alter config.sh to optionally just verify environment instead of making changes Key: ACCUMULO-1785 URL: https://issues.apache.org/jira/browse/ACCUMULO-1785 Project: Accumulo Issue Type: Improvement Components: scripts Affects Versions: 1.5.0, 1.4.4 Reporter: Sean Busbey Priority: Minor Right now, the accumulo scripts presume that invocation always happens on a node in the cluster. This makes integrating with external cluster management software more difficult. The primary issue is that bin/config.sh expects to find a full cluster configuration directory at all times. In the case of a configuration directory that doesn't specify any hosts it takes steps to set up a standalone cluster. That effort is unneeded and undesirable if we're just e.g. trying to go through init from a non-participant host. Add an optional environment variable to have config.sh just verify the invariants needed for bin/accumulo to behave correctly. When present, don't make local directories or write to files. -- This message was sent by Atlassian JIRA (v6.1#6144)