You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/04/25 01:24:06 UTC

[jira] Resolved: (HADOOP-162) concurrent modification exception in FSNamesystem.Lease.releaseLocks

     [ http://issues.apache.org/jira/browse/HADOOP-162?page=all ]
     
Doug Cutting resolved HADOOP-162:
---------------------------------

    Fix Version: 0.2
     Resolution: Fixed

I just committed this.  Thanks, Owen.

> concurrent modification exception in FSNamesystem.Lease.releaseLocks
> --------------------------------------------------------------------
>
>          Key: HADOOP-162
>          URL: http://issues.apache.org/jira/browse/HADOOP-162
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.2
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.2
>  Attachments: concurrent-mod-lease.patch
>
> FSNameSystem.Lease.releaseLocks iterates through the creates set, calling InternalReleaseCreate on each element, which changes the creates set in the Lease. This causes a ConcurrentModificationException if you have more than two files that are owned by the lease that times out.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira