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

JobResourceUploader creates LocalFileSystem when it's not necessary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • job submission
    • 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

        1. MAPREDUCE-7125.001.patch
          1 kB
          Gézapeti

        Issue Links

          Activity

            People

              gezapeti Gézapeti
              gezapeti Gézapeti
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: