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-9238) Update TestFileCreation#testLeaseExpireHardLimit() to avoid using DataNodeTestUtils#getFile()
Date Tue, 13 Oct 2015 23:03:05 GMT
Tony Wu created HDFS-9238:
-----------------------------

             Summary: Update TestFileCreation#testLeaseExpireHardLimit() to avoid using DataNodeTestUtils#getFile()
                 Key: HDFS-9238
                 URL: https://issues.apache.org/jira/browse/HDFS-9238
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 2.7.1
            Reporter: Tony Wu
            Assignee: Tony Wu
            Priority: Trivial


TestFileCreation#testLeaseExpireHardLimit uses DataNodeTestUtils#getFile() to open, read and
verify blocks written on the DN. It’s better to use getBlockInputStream() which does exactly
the same thing but hides the detail of getting the block file on disk.



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

Mime
View raw message