[
https://issues.apache.org/jira/browse/AMBARI-12086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-12086.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> 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)