You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2018/05/15 11:28:01 UTC

[ambari] branch trunk updated: AMBARI-23842. Timeline service is shown as stopped, while being started. (aonishuk)

This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5bc3f1d  AMBARI-23842. Timeline service is shown as stopped, while being started. (aonishuk)
5bc3f1d is described below

commit 5bc3f1df1b6bd7a3afb99405369509f1ddab860c
Author: Andrew Onishuk <ao...@hortonworks.com>
AuthorDate: Tue May 15 13:45:52 2018 +0300

    AMBARI-23842. Timeline service is shown as stopped, while being started. (aonishuk)
---
 ambari-agent/src/main/python/ambari_agent/ConfigurationBuilder.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ambari-agent/src/main/python/ambari_agent/ConfigurationBuilder.py b/ambari-agent/src/main/python/ambari_agent/ConfigurationBuilder.py
index 2daa12d..9d6a1ea 100644
--- a/ambari-agent/src/main/python/ambari_agent/ConfigurationBuilder.py
+++ b/ambari-agent/src/main/python/ambari_agent/ConfigurationBuilder.py
@@ -42,7 +42,8 @@ class ConfigurationBuilder:
         'hostLevelParams': host_level_params_cache,
         'clusterHostInfo': self.topology_cache.get_cluster_host_info(cluster_id),
         'localComponents': self.topology_cache.get_cluster_local_components(cluster_id),
-        'agentLevelParams': {'hostname': self.topology_cache.get_current_host_info(cluster_id)['hostName']}
+        'agentLevelParams': {'hostname': self.topology_cache.get_current_host_info(cluster_id)['hostName']},
+        'clusterName': metadata_cache.clusterLevelParams.cluster_name
       }
 
       if service_name is not None and service_name != 'null':

-- 
To stop receiving notification emails like this one, please contact
aonishuk@apache.org.