[
https://issues.apache.org/jira/browse/HDFS-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HDFS-6754:
-----------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed to trunk and branch-2.
> 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
> Fix For: 2.6.0
>
> Attachments: HDFS-6754.patch, 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.3.4#6332)