ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3987) Resource providers are set with wrong stack version.
Date Thu, 05 Dec 2013 15:28:36 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840162#comment-13840162
] 

Tom Beerbower commented on AMBARI-3987:
---------------------------------------

Results :

Tests run: 1228, Failures: 0, Errors: 0, Skipped: 7

> Resource providers are set with wrong stack version.
> ----------------------------------------------------
>
>                 Key: AMBARI-3987
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3987
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.4.2
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>         Attachments: AMBARI-3987.patch
>
>
> AbstractProviderModule.updateClusterVersion sets the cluster version for the resource
providers with the following ...
> {code}
>          PropertyHelper.MetricsVersion version =  clusterVersion.startsWith("HDP-1")
?
>               PropertyHelper.MetricsVersion.HDP1 : PropertyHelper.MetricsVersion.HDP2;
> {code}
> So, the Cluster/version property set to "HDPLocal-1.3.2" will incorrectly be detected
as HDP2.  This causes the property providers to use the wrong metric mapping files which causes
many JMX properties not to be set properly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message