[ 
https://issues.apache.org/jira/browse/HADOOP-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HADOOP-4951:
-------------------------------------------

    Attachment: 4951_20081229c.patch

> or you could move checkLeases() to LeaseMonitor class (where it actually 
> belongs). 

You are right.  I should move it out.

4951_20081229c.patch: moved checkLeases() and synchronized toString().

> Lease monitor does not own the LeaseManager lock in changing leases.
> --------------------------------------------------------------------
>
>                 Key: HADOOP-4951
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4951
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.2
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 4951_20081229.patch, 4951_20081229b.patch, 
> 4951_20081229c.patch
>
>
> In Monitor.checkLeases(), the monitor thread does not own the LeaseManager 
> lock but it may modify the leases.

-- 
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