Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6825

YARNRunner#createApplicationSubmissionContext method is longer than 150 lines

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      ./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java:341: public ApplicationSubmissionContext createApplicationSubmissionContext(:3: Method length is 249 lines (max allowed is 150).

      YARNRunner#createApplicationSubmissionContext is longer than 150 lines and needs to be refactored.

        Attachments

        1. MAPREDUCE-6825.006.patch
          11 kB
          Gergely Novák
        2. MAPREDUCE-6825.005.patch
          11 kB
          Gergely Novák
        3. MAPREDUCE-6825.004.patch
          11 kB
          Gergely Novák
        4. MAPREDUCE-6825.003.patch
          9 kB
          Gergely Novák
        5. MAPREDUCE-6825.002.patch
          9 kB
          Gergely Novák
        6. MAPREDUCE-6825.001.patch
          8 kB
          Gergely Novák

          Activity

            People

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              ctrezzo Chris Trezzo
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: