hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan A. Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4310) fix test org.apache.hadoop.hdfs.server.datanode.TestStartSecureDataNode
Date Thu, 13 Dec 2012 19:48:12 GMT

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

Ivan A. Veselovsky commented on HDFS-4310:

Hi, Aaron,
yes , but the problem is that we should shutdown the minicluster in the finally block. And
if another exception is thrown from here, we may lose the original exception thrown from the
try { ... } block. So, such construction is somewhat more reliable.
> fix test org.apache.hadoop.hdfs.server.datanode.TestStartSecureDataNode
> -----------------------------------------------------------------------
>                 Key: HDFS-4310
>                 URL: https://issues.apache.org/jira/browse/HDFS-4310
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Ivan A. Veselovsky
>            Assignee: Ivan A. Veselovsky
>         Attachments: HDFS-4310.patch
> the test org/apache/hadoop/hdfs/server/datanode/TestStartSecureDataNode catches exceptions
and does not re-throw them. Due to that it passes even if it actually failed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message