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

JobResourceUploader creates LocalFileSystem when it's not necessary

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: job submission
    • Labels:
      None

      Description

      When the property mapreduce.job.log4j-properties-file is set a local filesystem is created even if it's never used:
      https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobResourceUploader.java#L858-L866

      The localFS should only be created when required.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gezapeti Peter Cseh
                Reporter:
                gezapeti Peter Cseh
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: