[ https://issues.apache.org/jira/browse/HDFS-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mit Desai updated HDFS-6754: ---------------------------- Attachment: HDFS-6754.patch Attaching patch to enable retries. > TestNamenodeCapacityReport.testXceiverCount may sometimes fail due to lack of > retry > ----------------------------------------------------------------------------------- > > Key: HDFS-6754 > URL: https://issues.apache.org/jira/browse/HDFS-6754 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Mit Desai > Assignee: Mit Desai > Attachments: HDFS-6754.patch > > > I have seen TestNamenodeCapacityReport.testXceiverCount fail intermittently > in our nightly builds with the following error: > {noformat} > 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) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)