You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/12/05 16:28:36 UTC

[jira] [Commented] (AMBARI-3987) Resource providers are set with wrong stack version.

    [ 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)