Uploaded image for project: 'Ambari'
  1. Ambari
  2. 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'.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • trunk, 2.5.0
    • None
    • None

    Description

      Remove the following code and its references:

      +  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);
      +          }
      +        }
      +      }
      +    }
      +  }
      

      Attachments

        1. AMBARI-19810.01.patch
          4 kB
          Swapan Shridhar
        2. AMBARI-19810.trunk.01.patch
          9 kB
          Swapan Shridhar

        Issue Links

          Activity

            People

              swapanshridhar Swapan Shridhar
              swapanshridhar Swapan Shridhar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: