hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7533) Datanode sometimes does not shutdown on receiving upgrade shutdown command
Date Wed, 30 Sep 2015 02:18:05 GMT

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

Wei-Chiu Chuang commented on HDFS-7533:
---------------------------------------

Hi [~kihwal] [~eepayne] ,
thanks for the effort fixing this issue. I just started Hadoop development recently and I
am reviewing this issue. It looks to me that catching Throwable and ignore it may cause other
issues, for example, ignoring a OOME can be pretty bad. How able adding a warning message
after catching Throwable? It would be great if you could elaborate on this.

Thank you

> Datanode sometimes does not shutdown on receiving upgrade shutdown command
> --------------------------------------------------------------------------
>
>                 Key: HDFS-7533
>                 URL: https://issues.apache.org/jira/browse/HDFS-7533
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Eric Payne
>              Labels: 2.6.1-candidate
>             Fix For: 2.7.0, 2.6.1
>
>         Attachments: HDFS-7533-branch-2.6-v1.patch, HDFS-7533.v1.txt
>
>
> When datanode is told to shutdown via the dfsadmin command during rolling upgrade, it
may not shutdown.  This is because not all writers have responder running, but sendOOB() tries
anyway. This causes NPE and the shutdown thread dies, halting the shutdown after only shutting
down DataXceiverServer. 



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

Mime
View raw message