You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/10/17 00:25:05 UTC

[jira] [Created] (AMBARI-13460) Accumulo start/stop checks fail when running as non-root user

Josh Elser created AMBARI-13460:
-----------------------------------

             Summary: 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


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)