[
https://issues.apache.org/jira/browse/AMBARI-25301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867052#comment-16867052
]
Hudson commented on AMBARI-25301:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #528 (See
[https://builds.apache.org/job/Ambari-branch-2.7/528/])
[AMBARI-25301] Ambari metrics HA does not work in 2.7.x for Hbase/any (root:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=7407f75dbf9522d9dcb9a0168edec5ce351dc89e])
* (edit)
ambari-metrics/ambari-metrics-hadoop-sink/src/main/java/org/apache/hadoop/metrics2/sink/timeline/HadoopTimelineMetricsSink.java
> Ambari metrics HA does not work in 2.7.x for Hbase/any /services
> ----------------------------------------------------------------
>
> Key: AMBARI-25301
> URL: https://issues.apache.org/jira/browse/AMBARI-25301
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.7.3
> Reporter: amarnath reddy pappu
> Assignee: amarnath reddy pappu
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Steps to reproduce:
> -------------------------
> 1. Install Ambari 2.7.3 and HDP3.1 cluster.
> 2. Add Ambari metrics service.
> 3. From host page, add another ambari metrics collector.
> 4. Hbase would not be able to connect to collector.
> Root cause:
> hadop-sink is not able to spit these below hosts and end of with bad URL.
> {noformat}
> hbase.sink.timeline.collector.hosts=c2111-node3.hdp.com,c2111-node2.hdp.com
> {noformat}
> {noformat}
> 2019-06-11 19:46:02,731 DEBUG [timeline] timeline.HadoopTimelineMetricsSink:
> Trying to find live collector host from :
> [c2111-node3.hdp.com,c2111-node2.hdp.com]
> 2019-06-11 19:46:02,731 DEBUG [timeline] timeline.HadoopTimelineMetricsSink:
> Requesting live collector nodes :
> http://c2111-node3.hdp.com,c2111-node2.hdp.com:6188/ws/v1/timeline/metrics/livenodes
> 2019-06-11 19:46:02,732 DEBUG [timeline] timeline.HadoopTimelineMetricsSink:
> Unable to connect to collector,
> http://c2111-node3.hdp.com,c2111-node2.hdp.com:6188/ws/v1/timeline/metrics/livenodes
> {noformat}
> In HadoopTimelineMetricsSink.java
> {code:java}
> collectorHosts =
> parseHostsStringArrayIntoCollection(conf.getStringArray(COLLECTOR_HOSTS_PROPERTY));
> {code}
> conf.getStringArray(COLLECTOR_HOSTS_PROPERTY) is not actually returning the
> String array.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)