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.

Reply via email to