ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12086) Remove/review other occurrences of Execute (format("rm -f {pid_file}")) for non-root agent
Date Wed, 24 Jun 2015 19:47:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600022#comment-14600022
] 

Hudson commented on AMBARI-12086:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #106 (See [https://builds.apache.org/job/Ambari-branch-2.1/106/])
AMBARI-12086. Remove/review other occurrences of Execute (format("rm -f {pid_file}")) for
non-root agent (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d7eecaa9f5c073e01b3cb70a687dd7d92f299a46)
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase_service.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_service.py


> 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