Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13351

TestDFSClientSocketSize buffer size tests are flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0, 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      TestDFSClientSocketSize has two tests that assert that a value that was set via java.net.Socket#setSendBufferSize is equal to the value subsequently returned by java.net.Socket#getSendBufferSize.

      These tests are flaky when we run them. The occasionally fail.

      This is expected behavior, actually, because Socket#setSendBufferSize()is only a hint. (Similar to how the underlying libc setsockopt(SO_SNDBUF) works).

      Attachments

        1. HADOOP-13551.001.patch
          2 kB
          Aaron Fabbri
        2. HADOOP-13551.002.patch
          3 kB
          Aaron Fabbri
        3. HADOOP-13551.003.patch
          3 kB
          Aaron Fabbri
        4. HADOOP-13551.004.patch
          3 kB
          Aaron Fabbri
        5. HADOOP-13351.005.patch
          5 kB
          Mingliang Liu
        6. HADOOP-13351.006.patch
          5 kB
          Mingliang Liu
        7. HADOOP-13351.007.patch
          5 kB
          Mingliang Liu

        Activity

          People

            fabbri Aaron Fabbri
            fabbri Aaron Fabbri
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: