You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/03/18 00:06:38 UTC

[jira] [Created] (ACCUMULO-3666) StandaloneAccumuloClusterControl needs to invoke commands with sudo

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)