[ https://issues.apache.org/jira/browse/HADOOP-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529941 ]
dhruba borthakur commented on HADOOP-1932: ------------------------------------------ It is *guaranteed* that the namenode will allocate a new block for the file only if the penultimate block has been confirmed by at least the min number of datanodes. That shud take care of the issue that you mention. > Test dfs.TestFileCreation.testFileCreation failed on Windows > ------------------------------------------------------------ > > Key: HADOOP-1932 > URL: https://issues.apache.org/jira/browse/HADOOP-1932 > Project: Hadoop > Issue Type: Bug > Components: test > Affects Versions: 0.15.0 > Environment: Windows > Reporter: Mukund Madhugiri > Assignee: dhruba borthakur > Priority: Blocker > Attachments: fileCloseTest.patch > > > Fails with this assert error: > junit.framework.AssertionFailedError: filestatus.dat should be of size 16384 > at > org.apache.hadoop.dfs.TestFileCreation.testFileCreation(TestFileCreation.java:137) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.