Browse Source

AMBARI-9444 Add service creates ghost config versions for HDFS. (atkach)

Andrii Tkach 10 years ago
parent
commit
28f65d747d

+ 1 - 0
ambari-web/app/controllers/wizard/step8_controller.js

@@ -1501,6 +1501,7 @@ App.WizardStep8Controller = Em.Controller.extend(App.AddSecurityConfigs, App.wiz
       coreSiteObject.tag = tag;
       var coreSiteConfigs = this.get('configs').filterProperty('filename', 'core-site.xml');
       if (this.isConfigsChanged(coreSiteObject.properties, coreSiteConfigs)) {
+        coreSiteObject.service_config_version_note = Em.I18n.t('dashboard.configHistory.table.notes.addService');
         this.get('serviceConfigTags').pushObject(coreSiteObject);
       }
     }

+ 1 - 0
ambari-web/app/messages.js

@@ -2323,6 +2323,7 @@ Em.I18n.translations = {
   'dashboard.configHistory.table.configGroup.default' : 'default',
   'dashboard.configHistory.table.empty' : 'No history to display',
   'dashboard.configHistory.table.notes.default': 'Initial configurations for {0}',
+  'dashboard.configHistory.table.notes.addService': 'Configuration updated while adding service',
   'dashboard.configHistory.table.notes.no': '<i>No notes</i>',
   'dashboard.configHistory.table.version.versionText' : 'V{0}',
   'dashboard.configHistory.table.version.prefix' : 'V',