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:16:35 UTC

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

Tom Beerbower created AMBARI-3987:
-------------------------------------

             Summary: 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


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)