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

Fix flakiness in TestQuorumJournalManager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: qjm, test
    • Labels:
      None

      Description

      TestQuorumJournalManager can occasionally fail if two consecutive test cases pick the same port number for the JournalNodes. In this case, sometimes an IPC client can be cached from a previous test case, and then fail when it tries to make an IPC over that cached connection to the now-broken connection. We need to more carefully call close() on all the QJMs to prevent this.

        Attachments

        1. hdfs-4643.txt
          6 kB
          Todd Lipcon
        2. hdfs-4643.txt
          6 kB
          Todd Lipcon
        3. hdfs-4643.txt
          7 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: