浏览代码

AMBARI-13151. Multiple Oozie Servers can be added with Install Wizard and ASW (akovalenko)

Aleksandr Kovalenko 10 年之前
父节点
当前提交
797e397373
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/models/stack_service_component.js

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

@@ -151,7 +151,7 @@ App.StackServiceComponent = DS.Model.extend({
    * @property {Boolean} isMasterAddableOnlyOnHA
    * @property {Boolean} isMasterAddableOnlyOnHA
    */
    */
   isMasterAddableOnlyOnHA: function () {
   isMasterAddableOnlyOnHA: function () {
-    return ['NAMENODE', 'RESOURCEMANAGER', 'RANGER_ADMIN'].contains(this.get('componentName'));
+    return ['NAMENODE', 'RESOURCEMANAGER', 'RANGER_ADMIN', 'OOZIE_SERVER'].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 **/