hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4795) Lease monitor may get into an infinite loop
Date Mon, 08 Dec 2008 18:10:44 GMT

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

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

    Attachment: 4795_20081208.patch

> In the method check(), if the older entry has not expired, we should break out of the
while loop?

You are right.  I removed the "break;" in the original codes but forgot to add a "return;"

4795_20081208.patch: fix the bug above.  Will try to add a test.

> Lease monitor may get into an infinite loop
> -------------------------------------------
>
>                 Key: HADOOP-4795
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4795
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.18.3
>
>         Attachments: 4795_20081205.patch, 4795_20081208.patch
>
>
> If a lease is not found in the namespace for some reasons (e.g. bugs), lease monitor
may get into an infinite loop.

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


Mime
View raw message