Browse Source

AMBARI-2932. In installer configs page, move YARN tab before MR2 tab. (onechiporenko via yusaku)

Yusaku Sako 11 năm trước cách đây
mục cha
commit
86e28b07ec
1 tập tin đã thay đổi với 15 bổ sung14 xóa
  1. 15 14
      ambari-web/app/data/service_configs.js

+ 15 - 14
ambari-web/app/data/service_configs.js

@@ -47,6 +47,7 @@ module.exports = [
     sites: ['core-site'],
     configs: []
   },
+
   {
     serviceName: 'MAPREDUCE',
     displayName: 'MapReduce',
@@ -63,20 +64,6 @@ module.exports = [
     configs: []
   },
 
-  {
-    serviceName: 'MAPREDUCE2',
-    displayName: 'MapReduce 2',
-    filename: 'mapred-site',
-    configCategories: [
-      App.ServiceConfigCategory.create({ name: 'HistoryServer', displayName : 'History Server', hostComponentNames : ['HISTORYSERVER']}),
-      App.ServiceConfigCategory.create({ name: 'General', displayName : 'General'}),
-      App.ServiceConfigCategory.create({ name: 'Advanced', displayName : 'Advanced'}),
-      App.ServiceConfigCategory.create({ name: 'AdvancedMapredSite', displayName : 'Custom mapred-site.xml', siteFileName: 'mapred-site.xml', canAddProperty: true})
-    ],
-    sites: ['global', 'mapred-site', 'mapred-queue-acls'],
-    configs: []
-  },
-
   {
     serviceName: 'YARN',
     displayName: 'YARN',
@@ -93,6 +80,20 @@ module.exports = [
     configs: []
   },
 
+  {
+    serviceName: 'MAPREDUCE2',
+    displayName: 'MapReduce 2',
+    filename: 'mapred-site',
+    configCategories: [
+      App.ServiceConfigCategory.create({ name: 'HistoryServer', displayName : 'History Server', hostComponentNames : ['HISTORYSERVER']}),
+      App.ServiceConfigCategory.create({ name: 'General', displayName : 'General'}),
+      App.ServiceConfigCategory.create({ name: 'Advanced', displayName : 'Advanced'}),
+      App.ServiceConfigCategory.create({ name: 'AdvancedMapredSite', displayName : 'Custom mapred-site.xml', siteFileName: 'mapred-site.xml', canAddProperty: true})
+    ],
+    sites: ['global', 'mapred-site', 'mapred-queue-acls'],
+    configs: []
+  },
+
   {
     serviceName: 'HIVE',
     displayName: 'Hive',