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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: