ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapan Shridhar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (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'.
Date Thu, 02 Feb 2017 22:13:51 GMT

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

Swapan Shridhar updated AMBARI-19810:
-------------------------------------
    Status: Open  (was: Patch Available)

> 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)

Mime
View raw message