You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/07/23 13:21:14 UTC

[jira] Created: (MAPREDUCE-795) JobHistory.markCompleted() should be synchronized

JobHistory.markCompleted() should be synchronized
-------------------------------------------------

                 Key: MAPREDUCE-795
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-795
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobtracker
            Reporter: Amar Kamat
            Assignee: Amar Kamat


Since other FS calls in JobHistory are synchronized, this call should also be synchronized. This method moves jobhistory files from running to done folder. So while other JobHistory methods perform a search in the running folder this method might move the files in the FS causing inconsistencies. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-795) JobHistory.markCompleted() should be synchronized

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat resolved MAPREDUCE-795.
----------------------------------

    Resolution: Fixed

Resolved in MAPREDUCE-157.

> JobHistory.markCompleted() should be synchronized
> -------------------------------------------------
>
>                 Key: MAPREDUCE-795
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-795
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>
> Since other FS calls in JobHistory are synchronized, this call should also be synchronized. This method moves jobhistory files from running to done folder. So while other JobHistory methods perform a search in the running folder this method might move the files in the FS causing inconsistencies. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.