ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12086) Remove/review other occurrences of Execute (format("rm -f {pid_file}")) for non-root agent
Date Tue, 23 Jun 2015 08:56:00 GMT
Andrew Onischuk created AMBARI-12086:
----------------------------------------

             Summary: Remove/review other occurrences of Execute (format("rm -f {pid_file}"))
for non-root agent
                 Key: AMBARI-12086
                 URL: https://issues.apache.org/jira/browse/AMBARI-12086
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.0


Based on the issue reported by AMBARI-12043, there are few more occurrences of

    
    
    Execute (format("rm -f {pid_file}"))

that may also run into same issue.

ambari-server/src/main/resources/common-
services/AMBARI_METRICS/0.1.0/package/scripts/hbase_service.py  
ambari-server/src/main/resources/common-
services/HBASE/0.96.0.2.0/package/scripts/phoenix_service.py

Also, is the preferred fix pattern

    
    
    
    Execute(format("rm -f {pid_file}"),
            user=params.accumulo_user)
    

OR

    
    
    
    File(pid_file,
               action = "delete",
          )
    





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

Mime
View raw message