You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/01/21 17:59:30 UTC
ambari git commit: AMBARI-9220. hadoop.proxyuser..hosts
values aren't updated after operations with HiveServer2 (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 2f44c6aa5 -> f5672d009
AMBARI-9220. hadoop.proxyuser.<username>.hosts values aren't updated after operations with HiveServer2 (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f5672d00
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f5672d00
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f5672d00
Branch: refs/heads/trunk
Commit: f5672d009a9dee25b6c1267b1b817f1c7a3e94cf
Parents: 2f44c6a
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Jan 21 16:23:27 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jan 21 18:59:16 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/main/host/details.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/f5672d00/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js b/ambari-web/app/controllers/main/host/details.js
index 0a3857f..b7de1d8 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/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 = "";