[
https://issues.apache.org/jira/browse/ACCUMULO-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved ACCUMULO-3666.
----------------------------------
Resolution: Fixed
> 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)