Hadoop Common
  1. Hadoop Common
  2. HADOOP-1218

In TaskTracker the access to RunningJob object is not synchronized in one place

    Details

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

      Description

      In the method addTaskToJob, the access to RunningJob is not synchronized (leading to potential race conditions).

      1. 1218.patch
        0.5 kB
        Devaraj Das
      2. 1218.patch
        0.5 kB
        Devaraj Das

        Activity

        Hide
        Hadoop QA added a comment -

        -1, because 1 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12355101/1218.patch against trunk revision http://svn.apache.org/repos/asf/lucene/hadoop/trunk/526215. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch. Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch

        Show
        Hadoop QA added a comment - -1, because 1 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12355101/1218.patch against trunk revision http://svn.apache.org/repos/asf/lucene/hadoop/trunk/526215 . Please note that this message is automatically generated and may represent a problem with the automation system and not the patch. Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch
        Hide
        Devaraj Das added a comment -

        The earlier patch has a compilation problem. My bad. Attached is the correct patch.

        Show
        Devaraj Das added a comment - The earlier patch has a compilation problem. My bad. Attached is the correct patch.
        Show
        Hadoop QA added a comment - +1, because http://issues.apache.org/jira/secure/attachment/12355104/1218.patch applied and successfully tested against trunk revision http://svn.apache.org/repos/asf/lucene/hadoop/trunk/526281 . Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch
        Hide
        Tom White added a comment -

        I've just committed this. Thanks Devaraj!

        Show
        Tom White added a comment - I've just committed this. Thanks Devaraj!
        Hide
        Hadoop QA added a comment -
        Show
        Hadoop QA added a comment - Integrated in Hadoop-Nightly #52 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/52/ )

          People

          • Assignee:
            Devaraj Das
            Reporter:
            Devaraj Das
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development