AMBARI-7935. Remove hardcoded configs for Tez for HDP 2.2 UI part (Buzhor Denys via alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/67da2c28 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/67da2c28 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/67da2c28 Branch: refs/heads/branch-1.7.0 Commit: 67da2c28e618810c5c8fc06d81ef2e53f93d62b7 Parents: 433e524 Author: Alex Antonenko <[email protected]> Authored: Thu Oct 23 21:38:00 2014 +0300 Committer: Alex Antonenko <[email protected]> Committed: Thu Oct 23 22:56:18 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/data/HDP2.2/site_properties.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/67da2c28/ambari-web/app/data/HDP2.2/site_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/HDP2.2/site_properties.js b/ambari-web/app/data/HDP2.2/site_properties.js index b6f3bef..a3f1d2c 100644 --- a/ambari-web/app/data/HDP2.2/site_properties.js +++ b/ambari-web/app/data/HDP2.2/site_properties.js @@ -17,10 +17,23 @@ */ var App = require('app'); + var hdp2properties = require('data/HDP2/site_properties').configProperties; +var excludedConfigs = [ + 'storm.thrift.transport', //In HDP2.2 storm.thrift.transport property is computed on server + 'storm_rest_api_host', + 'tez.am.container.session.delay-allocation-millis', + 'tez.am.grouping.max-size', + 'tez.am.grouping.min-size', + 'tez.am.grouping.split-waves', + 'tez.am.java.opts', + 'tez.runtime.intermediate-input.compress.codec', + 'tez.runtime.intermediate-input.is-compressed', + 'tez.runtime.intermediate-output.compress.codec', + 'tez.runtime.intermediate-output.should-compress' +]; var hdp22properties = hdp2properties.filter(function (item) { - //In HDP2.2 storm.thrift.transport property is computed on server - return item.name !== 'storm.thrift.transport' && item.name !== 'storm_rest_api_host'; + return !excludedConfigs.contains(item.name); }); hdp22properties.push(
