[ 
https://issues.apache.org/jira/browse/AMBARI-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapan Shridhar updated AMBARI-19810:
-------------------------------------
    Attachment: AMBARI-19810.01.patch

> 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: 2.5.0
>
>         Attachments: AMBARI-19810.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)

Reply via email to