Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6754

TestNamenodeCapacityReport.testXceiverCount may sometimes fail due to lack of retry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • None
    • None
    • Reviewed

    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)
      

      Attachments

        1. HDFS-6754.patch
          1.0 kB
          Mit Desai
        2. HDFS-6754.patch
          0.9 kB
          Mit Desai

        Activity

          People

            mitdesai Mit Desai
            mitdesai Mit Desai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: