hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
Date Mon, 28 Sep 2015 22:16:05 GMT

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

Hudson commented on HDFS-9148:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #1192 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1192/])
HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via
Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Incorrect assert message in TestWriteToReplica#testWriteToTemporary
> -------------------------------------------------------------------
>
>                 Key: HDFS-9148
>                 URL: https://issues.apache.org/jira/browse/HDFS-9148
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Trivial
>             Fix For: 3.0.0, 2.8.0
>
>         Attachments: hdfs-9148.patch
>
>
> The following assert text in TestWriteToReplica#testWriteToTemporary is not correct:
> {code:java}
>       Assert.fail("createRbw() Should have removed the block with the older "
>           + "genstamp and replaced it with the newer one: " + blocks[NON_EXISTENT]);
> {code}
> If the assert is triggered, it can only be due to an temporary replica already exists
and has newer generation stamp. It should have nothing to do with createRbw().



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

Mime
View raw message