accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3666) StandaloneAccumuloClusterControl needs to invoke commands with sudo
Date Tue, 17 Mar 2015 23:06:38 GMT
Josh Elser created ACCUMULO-3666:
------------------------------------

             Summary: StandaloneAccumuloClusterControl needs to invoke commands with sudo
                 Key: ACCUMULO-3666
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3666
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 1.7.0


Running tests against an ambari-installed Accumulo cluster and I noticed that a few of the
tests which restarted things just hung.

After looking at the logs enough, I realized that it was because the tests are just invoking
things like:

{{ssh  localhost "/usr/hdp/current/accumulo-client/bin/start-server.sh localhost master"}}

When the tests are being run as an unprivileged user, and Accumulo as an 'accumulo' user,
obviously trying to start Accumulo as the unprivileged user will fail.

Need to add in configuration so that the command can sudo to start/stop accumulo where necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message