[
https://issues.apache.org/jira/browse/AMBARI-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891212#comment-13891212
]
Nate Cole commented on AMBARI-4490:
-----------------------------------
[~dshkvyra], I just consulted with Yusaku about this issue. Here is the
workflow:
The UI will set a properties like so:
"ambari.dfs.datanode.port": 50075
"dfs.datanode.address" : "0.0.0.0:${ambari.dfs.datanode.port}"
These get passed down, as-is, to the host with no substitution. Also, they
need to be read as-is with no substitution by the backend.
The ONLY time they need to be resolved and substituted is when we need those
values in order to build the URL to call JMX (or, for any other URL call
internal to Ambari). You should not need a new Resource provider to do this.
> If Ganglia is not installed, server logs hundreds of error messages
> -------------------------------------------------------------------
>
> Key: AMBARI-4490
> URL: https://issues.apache.org/jira/browse/AMBARI-4490
> Project: Ambari
> Issue Type: Bug
> Components: controller
> Affects Versions: 1.5.0
> Reporter: Dmytro Shkvyra
> Assignee: Dmytro Shkvyra
> Fix For: 1.5.0
>
>
> Log entries:
> {code}
> 01:08:54,508 ERROR [pool-1-thread-2] JMXPropertyProvider:487 - Caught
> exception getting JMX metrics : For input string:
> "${ambari.dfs.datanode.http.port}"
> 01:08:54,514 ERROR [pool-1-thread-1] JMXPropertyProvider:487 - Caught
> exception getting JMX metrics : For input string:
> "${ambari.dfs.datanode.http.port}"
> 01:09:02,505 INFO [qtp369362185-21] GangliaPropertyProvider:450 - Ganglia
> host is not live
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)