[
https://issues.apache.org/jira/browse/AMBARI-9953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Barca updated AMBARI-9953:
----------------------------------
Attachment: AMBARI-9953.0.patch
Ensure config() gets called on restart(), when this one is invoked before
start().
> Ambari Metrics monitor restart failed with error JAVA_HOME is not set
> ---------------------------------------------------------------------
>
> Key: AMBARI-9953
> URL: https://issues.apache.org/jira/browse/AMBARI-9953
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-metrics, ambari-server
> Affects Versions: 2.0.0
> Reporter: Florian Barca
> Assignee: Florian Barca
> Fix For: 2.0.0
>
> Attachments: AMBARI-9953.0.patch
>
>
> AMS Collector fails to restart if the installation of a certain upstream
> component failed. In this case, start() is skipped, and install() is followed
> by restart() immediately. restart() being implemented by a stop()+start()
> sequence, it results that stop() needs to make sure that the service is
> configured prior to invoking any low-level scripts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)