hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9181) Better handling of exceptions thrown during upgrade shutdown
Date Mon, 05 Oct 2015 17:05:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943666#comment-14943666
] 

Daniel Templeton commented on HDFS-9181:
----------------------------------------

I think you can get what you want by just changing the catch from Throwable to Exception.
 An uncaught Error will generally bring the whole thing down anyway, so not catching Errors
won't impact the hanging behavior.  (And if it does, we have bigger issues.)

> Better handling of exceptions thrown during upgrade shutdown
> ------------------------------------------------------------
>
>                 Key: HDFS-9181
>                 URL: https://issues.apache.org/jira/browse/HDFS-9181
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Minor
>
> Previously in HDFS-7533, a bug was fixed by suppressing exceptions during upgrade shutdown.
It may be appropriate as a temporary fix, but it would be better if the exception is handled
in some other ways.
> One way to handle it is by emitting a warning message. There could exist other ways to
handle it. This lira is created to discuss how to handle this case better.
> Thanks to [~templedf] for bringing this up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message