You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/11 17:54:02 UTC

[jira] [Commented] (ACCUMULO-2891) bin/config.sh logs error when $ACCUMULO_CONF_DIR/masters is missing

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

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

Commit 1b170e8e5b416720ff67df85adfd2c2eac3ffab5 in accumulo's branch refs/heads/master from [~mdrob@cloudera.com]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=1b170e8 ]

ACCUMULO-2891 check for masters file before grep

Check that file exists
Before we try to open it
Be one with all things


> bin/config.sh logs error when $ACCUMULO_CONF_DIR/masters is missing
> -------------------------------------------------------------------
>
>                 Key: ACCUMULO-2891
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2891
>             Project: Accumulo
>          Issue Type: Bug
>          Components: start
>    Affects Versions: 1.6.0
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>            Priority: Minor
>             Fix For: 1.6.1, 1.7.0
>
>
> When running in an environment where the start-up scripts are not used to manage roles (and instead something like puppet is allowed to do its job) then the {{masters}}, {{slaves}}, {{gc}}, etc... files do not necessary need to be configured or even exist.
> However, using any tool that indirectly references {{config.sh}}, like the shell, will still produce an error message (the tool will still run):
> {noformat}
> grep: /etc/accumulo/conf/masters: No such file or directory
> {noformat}  



--
This message was sent by Atlassian JIRA
(v6.2#6252)