Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • test
    • None

    Description

      After HDFS-11083, the test TestDFSAdmi fails sometimes dueto timed out. The stack infos(https://builds.apache.org/job/PreCommit-HDFS-Build/17484/testReport/):

      java.lang.Exception: test timed out after 30000 milliseconds
      	at java.lang.Thread.sleep(Native Method)
      	at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:268)
      	at org.apache.hadoop.hdfs.tools.TestDFSAdmin.testReportCommand(TestDFSAdmin.java:540)
      

      The timed out is happened in GenericTestUtils.waitFor. We can make a improvement in the logic of waiting the corrupt blocks.

      Attachments

        1. HDFS-11122.004.patch
          3 kB
          Yiqun Lin
        2. HDFS-11122.003.patch
          3 kB
          Yiqun Lin
        3. HDFS-11122.002.patch
          1 kB
          Yiqun Lin
        4. HDFS-11122.001.patch
          1 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: