-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36285/
-----------------------------------------------------------
Review request for Ambari, Mahadev Konar and Sumit Mohanty.
Bugs: AMBARI-12323
https://issues.apache.org/jira/browse/AMBARI-12323
Repository: ambari
Description
-------
HDFS JMX dashboard metrics are missing.
Ambari is using wrong port due to HA properties that contain nameserviceId.
Default Ambari deploys contains old properties as well as new, so this Bug was
not found in a non blueprint based HA deploys.
Workaround: Add the following property to hdfs-site in the blueprint:
"dfs.namenode.http-address" : <namenode-hostname>:<http-port>
It doesn't matter which NN is used above since UI will get response with both
JMX properties and choose Active one.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
a4c8493
ambari-server/src/main/java/org/apache/ambari/server/controller/jmx/JMXPropertyProvider.java
3055c2b
Diff: https://reviews.apache.org/r/36285/diff/
Testing
-------
Unit tests passed, no new unit tests needed since port map initialization has
unit test coverage.
Thanks,
Sid Wagle