[
https://issues.apache.org/jira/browse/AMBARI-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swapan Shridhar updated AMBARI-19810:
-------------------------------------
Description:
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}
> Remove upgrade logic in UpdateCatalog250 for tez-interactive-site io.sort.mb,
> buffer.size
> -----------------------------------------------------------------------------------------
>
> 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: 2.5.0
>
>
> 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)