You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org> on 2010/10/26 21:07:20 UTC

[jira] Created: (HDFS-1478) unsafe interrupted condition check in DFSClient lease renewal thread

unsafe interrupted condition check in DFSClient lease renewal thread
--------------------------------------------------------------------

                 Key: HDFS-1478
                 URL: https://issues.apache.org/jira/browse/HDFS-1478
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Joydeep Sen Sarma
            Assignee: dhruba borthakur


the lease renewal thread bails out if thread interrupted condition is set:

    while (clientRunning && !Thread.interrupted()) {

this seems incorrect. we have seen cases (MAPREDUCE-2157) where (apparently) log4j may be setting the interrupted condition. if that is the case - the lease renewal thread will terminate - and i think we have heard of cases where lease renewal is not happening. so these seem to fit.


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