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

java.io.File.createTempFile fails in map/reduce tasks

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 0.23.1
    • Component/s: mrv2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixing YARN+MR to allow MR jobs to be able to use java.io.File.createTempFile to create temporary files as part of their tasks.

      Description

      container-launch.sh specifies java option java.io.tmpdir when executing the java process for the child container but fails to create the tmpdir. All uses of createTempFile and other commands relying on java.io.tmpdir will fail when called from child container jvms.

        Attachments

        1. MAPREDUCE-3716.patch
          19 kB
          Jonathan Turner Eagles
        2. MAPREDUCE-3716.patch
          4 kB
          Jonathan Turner Eagles
        3. TestRandomWriter.patch
          2 kB
          Jonathan Turner Eagles

        Issue Links

          Activity

            People

            • Assignee:
              jeagles Jonathan Turner Eagles
              Reporter:
              jeagles Jonathan Turner Eagles

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment