[ https://issues.apache.org/jira/browse/HDFS-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154079#comment-13154079 ]
Hadoop QA commented on HDFS-2575: --------------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12504474/hdfs-2575.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1592//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1592//console This message is automatically generated. > 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 > 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