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

Hudson commented on HDFS-2575:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #198 (See 
[https://builds.apache.org/job/Hadoop-Common-0.23-Commit/198/])
    HDFS-2575. DFSTestUtil may create empty files. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1204651
Files : 
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java

                
> DFSTestUtil may create empty files
> ----------------------------------
>
>                 Key: HDFS-2575
>                 URL: https://issues.apache.org/jira/browse/HDFS-2575
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.23.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2575.txt
>
>
> DFSTestUtil creates files with random sizes, but there is no minimum size. 
> So, sometimes, it can make a file with length 0. This will cause tests that 
> use this functionality to fail - for example, TestListCorruptFileBlocks 
> assumes that each of the created files has at least one block. We should add 
> a minSize parameter to prevent this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to