hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9583) TestBlockReplacement#testDeletedBlockWhenAddBlockIsInEdit occasionally fails
Date Sun, 20 Dec 2015 23:52:46 GMT
Wei-Chiu Chuang created HDFS-9583:
-------------------------------------

             Summary: TestBlockReplacement#testDeletedBlockWhenAddBlockIsInEdit occasionally
fails
                 Key: HDFS-9583
                 URL: https://issues.apache.org/jira/browse/HDFS-9583
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
         Environment: Jenkins
            Reporter: Wei-Chiu Chuang


https://builds.apache.org/job/Hadoop-Hdfs-trunk/2647/testReport/junit/org.apache.hadoop.hdfs.server.datanode/TestBlockReplacement/testDeletedBlockWhenAddBlockIsInEdit/

Looking at the code, the test expects that replacing a block from one data node to another
will issue a delete request to FsDatasetAsyncDiskService.deleteAsync(), which should have
print log "Scheduling ... file ... for deletion", and it waits for 3 seconds. However, it
never occurred.

I think the test needs a better way to determine if the delete request is executed, rather
than using a fix time out.



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

Mime
View raw message