accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1785) Alter config.sh to optionally just verify environment instead of making changes
Date Wed, 04 Dec 2013 20:00:36 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839281#comment-13839281
] 

ASF subversion and git services commented on ACCUMULO-1785:
-----------------------------------------------------------

Commit a7d981b3759f16c094f7932a3cdc67e76813d85f in branch refs/heads/1.6.0-SNAPSHOT from [~busbey]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=a7d981b ]

ACCUMULO-1785 adds ACCUMULO_VERIFY_ONLY mode to bin/config.sh.

* When set, won't write to local filesystem
 - skips mkdir for ACCUMULO_LOG_DIR
 - skips standalone mode checks
 - skips writing to missing tracers file
* Other behavior changes
 - if GC was set, we won't overwrite it
 - if MONITOR was set, we won't overwrite it

Signed-off-by: Keith Turner <kturner@apache.org>


> 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.4.4, 1.5.0, 1.6.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Minor
>         Attachments: ACCUMULO-1785.1.patch.txt, ACCUMULO-1785.2.patch.txt
>
>
> 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)

Mime
View raw message