hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9514) TestDistributedFileSystem.testDFSClientPeerWriteTimeout failing; exception being swallowed
Date Thu, 10 Dec 2015 00:22:11 GMT

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

Yongjun Zhang commented on HDFS-9514:
-------------------------------------

Thanks [~stevel@apache.org] for reporting the issue and [~jojochuang] for the patch. 

One comment, the following block (two occurences):

{code}
     catch (Throwable t) {
        Assert.fail("wrong exception:" + t.toString() +
            ExceptionUtils.getStackTrace(t));
      }
{code}
can be dropped, since the test itself would print out the exception info including the stack.

Thanks.





> TestDistributedFileSystem.testDFSClientPeerWriteTimeout failing; exception being swallowed
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9514
>                 URL: https://issues.apache.org/jira/browse/HDFS-9514
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client, test
>    Affects Versions: 3.0.0
>         Environment: jenkins
>            Reporter: Steve Loughran
>            Assignee: Wei-Chiu Chuang
>         Attachments: HDFS-9514.001.patch, HDFS-9514.002.patch
>
>
> {{TestDistributedFileSystem.testDFSClientPeerWriteTimeout}} is failing with the wrong
exception being raised...reporter isn't using the {{GenericTestUtils}} code and so losing
the details



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

Mime
View raw message