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

TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This was fixed by HDFS-7886. But some recent Jenkins Results started seeing this again:

      Tests run: 18, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 172.025 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestFileTruncate
      testTruncateWithDataNodesRestart(org.apache.hadoop.hdfs.server.namenode.TestFileTruncate)  Time elapsed: 43.861 sec  <<< ERROR!
      java.util.concurrent.TimeoutException: Timed out waiting for /test/testTruncateWithDataNodesRestart to reach 3 replicas
      	at org.apache.hadoop.hdfs.DFSTestUtil.waitReplication(DFSTestUtil.java:751)
      	at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.testTruncateWithDataNodesRestart(TestFileTruncate.java:704)
      

        Attachments

        1. HDFS-10748.002.patch
          1.0 kB
          Yiqun Lin
        2. HDFS-10748.001.patch
          0.9 kB
          Yiqun Lin

          Issue Links

            Activity

              People

              • Assignee:
                linyiqun Yiqun Lin
                Reporter:
                xyao Xiaoyu Yao
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: