Explorar o código

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

Alex Antonenko %!s(int64=10) %!d(string=hai) anos
pai
achega
c9619f1a9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {
     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 port = "";
     var hiveUser = "";