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

Use a reasonable limit in DFSTestUtil.waitForMetric()

    Details

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

      Description

      If test is detecting a bug, it will probably hit the long surefire timeout because the max is Integer.MAX_VALUE. Use something more realistic. The default jmx update interval is 10 seconds, so something like 60 seconds should be more than enough.

        Attachments

        1. HDFS-9740-branch-2.patch
          1 kB
          Vinayakumar B
        2. HDFS-9740-branch-2.7.patch
          2 kB
          Vinayakumar B
        3. HDFS-9740.patch
          0.6 kB
          Chang Li

          Activity

            People

            • Assignee:
              lichangleo Chang Li
              Reporter:
              kihwal Kihwal Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: