Description
I have seen TestNamenodeCapacityReport.testXceiverCount fail intermittently in our nightly builds with the following error:
java.io.IOException: Unable to close file because the last block does not have enough number of replicas. at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2151) at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2119) at org.apache.hadoop.hdfs.server.namenode.TestNamenodeCapacityReport.testXceiverCount(TestNamenodeCapacityReport.java:281)