Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13007

Fix the test timeouts being caused by ChoreService

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestChoreService has been seen timing out in recent builds and the timeouts seem to be rooted in how the ChoreService cancels its chores when being shutdown. The issue is that during shutdown, the ChoreService calls synchronized methods on the ScheduledChore which could cause indefinite blocking if the scheduled chore is hanging in a synchronized method. We should instead call the appropriate cancel method within the ChoreService and add logic into ScheduledChores that allows them to realize when they have been cancelled.

        Attachments

        1. HBASE-13007-v1.patch
          11 kB
          Jonathan Lawlor
        2. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor
        3. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor
        4. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor

          Activity

            People

            • Assignee:
              jonathan.lawlor Jonathan Lawlor
              Reporter:
              jonathan.lawlor Jonathan Lawlor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: