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.

Reply via email to