[ 
https://issues.apache.org/jira/browse/HADOOP-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603182#action_12603182
 ] 

Konstantin Shvachko commented on HADOOP-3491:
---------------------------------------------

I think InterruptedException should be caught inside the loop so that the 
ResolutionMonitor could check fsRunning and decide what to do based on its 
value.
And there should be no messages higher than debug level, imo.


> Name-node shutdown causes InterruptedException in ResolutionMonitor
> -------------------------------------------------------------------
>
>                 Key: HADOOP-3491
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3491
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3491-1.patch
>
>
> ResolutionMonitor.run() catches a general Exception and logs them no matter 
> what.
> It should explicitly catch the InterruptedException and exit gracefully.

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