[
https://issues.apache.org/jira/browse/HDFS-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925187#action_12925187
]
Joydeep Sen Sarma commented on HDFS-1478:
-----------------------------------------
we should also check shutdown conditions under almost all interruptedException
handlers before terminating. Please see comments at:
https://issues.apache.org/jira/browse/MAPREDUCE-2157?focusedCommentId=12925186&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12925186
> 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.