You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Chad Roberts (JIRA)" <ji...@apache.org> on 2013/06/03 15:11:19 UTC
[jira] [Created] (AMBARI-2252) Incorrect config_mapping file being
used (result of currentStackVersionNumber comparison)
Chad Roberts created AMBARI-2252:
------------------------------------
Summary: Incorrect config_mapping file being used (result of currentStackVersionNumber comparison)
Key: AMBARI-2252
URL: https://issues.apache.org/jira/browse/AMBARI-2252
Project: Ambari
Issue Type: Bug
Components: client
Reporter: Chad Roberts
When using stack version 1.3.0 (or 1.3.1), the "currentStackVersionNumber" is an empty string in the configMapping function (below) which is causing the function to incorrectly return "require('data/HDP2/config_mapping')" instead of "require('data/config_mapping')"
configMapping: function() {
if (stringUtils.compareVersions(App.get('currentStackVersionNumber'), "2.0") === 1 ||
stringUtils.compareVersions(App.get('currentStackVersionNumber'), "2.0") === 0) {
return require('data/HDP2/config_mapping');
}
return require('data/config_mapping');
}.property('App.currentStackVersionNumber'),
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira