浏览代码

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

Alex Antonenko 10 年之前
父节点
当前提交
0dcbcc1ba1
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
    * @property {Boolean} isMasterAddableInstallerWizard
    **/
    **/
   isMasterAddableInstallerWizard: function() {
   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('componentName'),
 
 
   /** @property {Boolean} isHAComponentOnly - Components that can be installed only if HA enabled **/
   /** @property {Boolean} isHAComponentOnly - Components that can be installed only if HA enabled **/