[
https://issues.apache.org/jira/browse/AMBARI-13460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser updated AMBARI-13460:
--------------------------------
Attachment: AMBARI-13460.001.patch
.001 adds {{as_user}} to the {{not_if}} conditionals which didn't already have
it.
> Accumulo start/stop checks fail when running as non-root user
> -------------------------------------------------------------
>
> Key: AMBARI-13460
> URL: https://issues.apache.org/jira/browse/AMBARI-13460
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Reporter: Josh Elser
> Fix For: 2.1.2
>
> Attachments: AMBARI-13460.001.patch
>
>
> Found that when installing Accumulo when Ambari isn't running as root, the
> not_if check which checks the pidfile for the give Accumulo service was
> incorrectly preventing the service from being started. It appeared that
> Ambari thought the service was already running even though the pid in the
> pidfile definitely didn't exist.
> [~billie.rinaldi] correct guessed that it was due to Ambari running as a
> different user (who didn't have permissions to read the pidfile). This stems
> from an incorrect {{not_if}} statement in the stack which caused the commands
> to check the pidfile to not be run as the Accumulo user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)