hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
Date Sat, 26 Sep 2015 01:07:04 GMT
Tony Wu created HDFS-9148:
-----------------------------

             Summary: Incorrect assert message in TestWriteToReplica#testWriteToTemporary
                 Key: HDFS-9148
                 URL: https://issues.apache.org/jira/browse/HDFS-9148
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 2.7.1
            Reporter: Tony Wu
            Priority: Trivial


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