You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2016/12/02 16:32:35 UTC

ambari git commit: AMBARI-19032 HDFS Metric alerts turns to UNKNOWN state with error "'NoneType' object has no attribute 'split'" (additional patch) (dsen)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 d2273639e -> 72a348c37


AMBARI-19032 HDFS Metric alerts turns to UNKNOWN state with error "'NoneType' object has no attribute 'split'" (additional patch) (dsen)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/72a348c3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/72a348c3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/72a348c3

Branch: refs/heads/branch-2.5
Commit: 72a348c37cf9d589951e32a845f68b3f31e2e80c
Parents: d227363
Author: Dmytro Sen <ds...@apache.org>
Authored: Fri Dec 2 18:30:50 2016 +0200
Committer: Dmytro Sen <ds...@apache.org>
Committed: Fri Dec 2 18:31:00 2016 +0200

----------------------------------------------------------------------
 .../common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/72a348c3/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
index 68cff98..57b93ce 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
@@ -117,7 +117,7 @@ if 'cluster-env' in config['configurations'] and \
     'metrics_collector_vip_host' in config['configurations']['cluster-env']:
   metric_collector_host = config['configurations']['cluster-env']['metrics_collector_vip_host']
 else:
-  metric_collector_host = select_metric_collector_hosts_from_hostnames(ams_collector_hosts)
+  metric_collector_host = select_metric_collector_hosts_from_hostnames(ams_collector_hosts.split(","))
 if 'cluster-env' in config['configurations'] and \
     'metrics_collector_vip_port' in config['configurations']['cluster-env']:
   metric_collector_port = config['configurations']['cluster-env']['metrics_collector_vip_port']