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

TestNamenodeCapacityReport.testXceiverCount may sometimes fail due to lack of retry

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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
          0.9 kB
          Mit Desai
        2. HDFS-6754.patch
          1.0 kB
          Mit Desai

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: