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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.1
    • 0.23.1
    • mrv2
    • None
    • Reviewed
    • 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

              jeagles Jonathan Turner Eagles
              jeagles Jonathan Turner Eagles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: