Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9856

Remove log-aggregation related duplicate function

    XMLWordPrintableJSON

Details

    • Task
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • 3.3.0
    • None
    • log-aggregation, yarn
    • None

    Description

      snemeth has noticed a duplication in two of the log-aggregation related functions.

      I noticed duplicated code in org.apache.hadoop.yarn.logaggregation.LogToolUtils#outputContainerLog, duplicated in org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogReader#readContainerLogs. [...]

      We should remove the duplication.

      Attachments

        1. YARN-9856.001.patch
          9 kB
          Szilard Nemeth
        2. YARN-9856.002.patch
          23 kB
          Szilard Nemeth

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adam.antal Adam Antal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: