[ https://issues.apache.org/jira/browse/AMBARI-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850690#comment-15850690 ]
Swapan Shridhar commented on AMBARI-19810: ------------------------------------------ commit trunk: {code} commit 975dd1d40c6136a61e7d014fb0dfc32e09863a2b Author: Swapan Shridhar <sshrid...@hortonworks.com> Date: Thu Feb 2 14:09:00 2017 -0800 AMBARI-19810. Remove upgrade logic in UpdateCatalog250 for tez-interactive-site's 'tez.runtime.io.sort.mb' and 'tez.runtime.unordered.output.buffer.size-mb'. {code} branch-2.5: {code} commit a8887c44500d92e225d6d53774595500fc1a6c01 Author: Swapan Shridhar <sshrid...@hortonworks.com> Date: Thu Feb 2 11:23:17 2017 -0800 AMBARI-19810. Remove upgrade logic in UpdateCatalog250 for tez-interactive-site's 'tez.runtime.io.sort.mb' and 'tez.runtime.unordered.output.buffer.size-mb'. {code} > Remove upgrade logic in UpdateCatalog250 for tez-interactive-site's > 'tez.runtime.io.sort.mb' and 'tez.runtime.unordered.output.buffer.size-mb'. > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-19810 > URL: https://issues.apache.org/jira/browse/AMBARI-19810 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Swapan Shridhar > Assignee: Swapan Shridhar > Fix For: trunk, 2.5.0 > > Attachments: AMBARI-19810.01.patch, AMBARI-19810.trunk.01.patch > > > Remove the following code and its references: > {code} > + protected void updateTEZInteractiveConfigs() throws AmbariException { > + AmbariManagementController ambariManagementController = > injector.getInstance(AmbariManagementController.class); > + Clusters clusters = ambariManagementController.getClusters(); > + if (clusters != null) { > + Map<String, Cluster> clusterMap = clusters.getClusters(); > + > + if (clusterMap != null && !clusterMap.isEmpty()) { > + for (final Cluster cluster : clusterMap.values()) { > + Config tezInteractiveSite = > cluster.getDesiredConfigByType("tez-interactive-site"); > + if (tezInteractiveSite != null) { > + > + updateConfigurationProperties("tez-interactive-site", > Collections.singletonMap("tez.runtime.io.sort.mb", "512"), true, true); > + > + updateConfigurationProperties("tez-interactive-site", > Collections.singletonMap("tez.runtime.unordered.output.buffer.size-mb", > + "100"), true, true); > + } > + } > + } > + } > + } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)