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

Remove log-aggregation related duplicate function

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Patch Available
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: log-aggregation, yarn
    • Labels:
      None
    • Target Version/s:

      Description

      Szilard Nemeth 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

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                adam.antal Adam Antal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: