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

Fix flakiness in TestQuorumJournalManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.1.0-beta
    • qjm, test
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: