Procházet zdrojové kódy

AMBARI-2990. MapReduce configuration page has changed for 1.x stack. (Andrii Babiichuk via yusaku)

Yusaku Sako před 11 roky
rodič
revize
90f1aa4a54

+ 2 - 2
ambari-web/app/data/global_properties.js

@@ -901,7 +901,7 @@ module.exports =
       "domain": "global",
       "category": "Advanced"
     },
-    {
+    /*{
       "id": "site property",
       "name": "mapred.capacity-scheduler.maximum-system-jobs",
       "displayName": "Max system jobs",
@@ -916,7 +916,7 @@ module.exports =
       "serviceName": "MAPREDUCE",
       "category": "CapacityScheduler",
       "filename": "capacity-scheduler.xml"
-    },
+    },*/
   /**********************************************HBASE***************************************/
     {
       "id": "puppet var",

+ 1 - 2
ambari-web/app/data/service_configs.js

@@ -57,10 +57,9 @@ module.exports = [
       App.ServiceConfigCategory.create({ name: 'TaskTracker', displayName : 'TaskTracker', hostComponentNames : ['TASKTRACKER']}),
       App.ServiceConfigCategory.create({ name: 'General', displayName : 'General'}),
       App.ServiceConfigCategory.create({ name: 'Advanced', displayName : 'Advanced'}),
-      App.ServiceConfigCategory.create({ name: 'CapacityScheduler', displayName : 'Capacity Scheduler', isCapacityScheduler : true, isCustomView: true, siteFileName: 'capacity-scheduler.xml', siteFileNames: ['capacity-scheduler.xml', 'mapred-queue-acls.xml'], canAddProperty: true}),
       App.ServiceConfigCategory.create({ name: 'AdvancedMapredSite', displayName : 'Custom mapred-site.xml', siteFileName: 'mapred-site.xml', canAddProperty: true})
     ],
-    sites: ['global', 'mapred-site', 'capacity-scheduler', 'mapred-queue-acls'],
+    sites: ['global', 'mapred-site', 'mapred-queue-acls'],
     configs: []
   },