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

TestBootstrapStandby#testRateThrottling is flaky because fsimage size is smaller than IO buffer size

    Details

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

      Description

      testRateThrottling verifies that bootstrap transfer should timeout with a very small DFS_IMAGE_TRANSFER_BOOTSTRAP_STANDBY_RATE_KEY value. However, throttling on the image sender only happens after sending each IO buffer. Therefore, the test sometimes fails if the receiver receives the full fsimage (which is smaller than IO buffer size) before throttling begins.

        Attachments

        1. HDFS-9329.00.patch
          5 kB
          Zhe Zhang
        2. HDFS-9329.01.patch
          5 kB
          Zhe Zhang

          Activity

            People

            • Assignee:
              zhz Zhe Zhang
              Reporter:
              zhz Zhe Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: