Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2082

Race condition in writing the jobtoken password file when launching pipes jobs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None

      Description

      In Application.java, when jobtoken password file is written, there is a race condition because the file is written in job's work directory. The file should rather be written in the task's working directory.

      1. MAPREDUCE-2082-y20.1.patch
        1 kB
        Jitendra Nath Pandey
      2. MAPREDUCE-2082.1.patch
        1 kB
        Jitendra Nath Pandey

        Activity

        Hide
        Jitendra Nath Pandey added a comment -

        patch for yahoo 20 branch.

        Show
        Jitendra Nath Pandey added a comment - patch for yahoo 20 branch.
        Hide
        Jitendra Nath Pandey added a comment -

        patch for trunk.

        Show
        Jitendra Nath Pandey added a comment - patch for trunk.
        Hide
        Jitendra Nath Pandey added a comment -

        ant test was run manually.

        javadoc, findbugs, javac warnings were also tested successfully.

        Show
        Jitendra Nath Pandey added a comment - ant test was run manually. javadoc, findbugs, javac warnings were also tested successfully.
        Hide
        Jitendra Nath Pandey added a comment -

        The patch was tested on 20 branch.

        Show
        Jitendra Nath Pandey added a comment - The patch was tested on 20 branch.
        Hide
        Devaraj Das added a comment -

        I just committed this. Thanks, Jitendra!

        Show
        Devaraj Das added a comment - I just committed this. Thanks, Jitendra!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/ )

          People

          • Assignee:
            Jitendra Nath Pandey
            Reporter:
            Jitendra Nath Pandey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development