hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2573) TestFiDataXceiverServer is failing, not testing OOME
Date Sun, 20 Nov 2011 20:41:52 GMT

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

Konstantin Boudnik commented on HDFS-2573:

I think there's a couple of approaches here:
 - overwrite {{datanode.threadGroup#uncaughtException}} method
 - inject a bit more code {{DataXceiver}} so a listener can be registered and notified when
OOME is thrown in {{run()}}.

Both are doable, the latter is a way simpler.
> TestFiDataXceiverServer is failing, not testing OOME
> ----------------------------------------------------
>                 Key: HDFS-2573
>                 URL: https://issues.apache.org/jira/browse/HDFS-2573
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.22.0
> TestFiDataXceiverServer is failing occasionally. It turns out also that the test is not
testing the desired condition, because OOME is not caught in DataXceiverServer.run()

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message