Browse Source

AMBARI-9220. hadoop.proxyuser.<username>.hosts values aren't updated after operations with HiveServer2 (alexantonenko)

Alex Antonenko 10 years ago
parent
commit
f5672d009a
1 changed files with 1 additions and 1 deletions
  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().sort().join(',');
+    var hiveMasterHosts = hiveMSHosts.concat(App.HostComponent.find().filterProperty('componentName', 'HIVE_SERVER').mapProperty('hostName')).uniq().sort().join(',');
     var configs = {};
     var port = "";
     var hiveUser = "";