Bladeren bron

AMBARI-8766. Hive Metastore HA: remove it during install and add service wiz in UI (alexantonenko)

Alex Antonenko 10 jaren geleden
bovenliggende
commit
0dcbcc1ba1
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      ambari-web/app/models/stack_service_component.js

+ 2 - 1
ambari-web/app/models/stack_service_component.js

@@ -144,7 +144,8 @@ App.StackServiceComponent = DS.Model.extend({
    * @property {Boolean} isMasterAddableInstallerWizard
    **/
   isMasterAddableInstallerWizard: function() {
-    return this.get('isMaster') && this.get('isMultipleAllowed') && this.get('maxToInstall') > 2;
+    var ignored = ['HIVE_METASTORE'];
+    return this.get('isMaster') && this.get('isMultipleAllowed') && this.get('maxToInstall') > 2 && !ignored.contains(this.get('componentName'));
   }.property('componentName'),
 
   /** @property {Boolean} isHAComponentOnly - Components that can be installed only if HA enabled **/