Sfoglia il codice sorgente

AMBARI-9219. HDFS should not need restart after adding second Hive component (alexantonenko)

Alex Antonenko 10 anni fa
parent
commit
c9619f1a9a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ambari-web/app/controllers/main/host/details.js

+ 1 - 1
ambari-web/app/controllers/main/host/details.js

@@ -591,7 +591,7 @@ App.MainHostDetailsController = Em.Controller.extend({
    */
    */
   onLoadHiveConfigs: function (data) {
   onLoadHiveConfigs: function (data) {
     var hiveMSHosts = this.getHiveHosts();
     var hiveMSHosts = this.getHiveHosts();
-    var hiveMasterHosts = hiveMSHosts.concat([App.HostComponent.find().findProperty('componentName', 'HIVE_SERVER').get('hostName')]).uniq().join(',');
+    var hiveMasterHosts = hiveMSHosts.concat([App.HostComponent.find().findProperty('componentName', 'HIVE_SERVER').get('hostName')]).uniq().sort().join(',');
     var configs = {};
     var configs = {};
     var port = "";
     var port = "";
     var hiveUser = "";
     var hiveUser = "";