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

TestCallQueueManager is still flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      testSwapUnderContention counts the calls and then interrupts as shown below. There could be call after counting the call but before interrupt.

          for (Taker t : consumers) {
            totalCallsConsumed += t.callsTaken;
            threads.get(t).interrupt();
          }
      

        Attachments

        1. c10473_20140408b.patch
          2 kB
          Tsz-wo Sze
        2. c10473_20140408.patch
          1 kB
          Tsz-wo Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz-wo Sze
                Reporter:
                szetszwo Tsz-wo Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: