You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Lawlor (JIRA)" <ji...@apache.org> on 2015/02/11 18:31:12 UTC

[jira] [Reopened] (HBASE-13007) Fix the test timeouts being caused by ChoreService

     [ https://issues.apache.org/jira/browse/HBASE-13007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Lawlor reopened HBASE-13007:
-------------------------------------

Reopening issue as it seems this did not fix the issue since the integration into trunk failed due to a timeout within TestChoreService. Going to dig into the issue further and report back with findings.

> Fix the test timeouts being caused by ChoreService 
> ---------------------------------------------------
>
>                 Key: HBASE-13007
>                 URL: https://issues.apache.org/jira/browse/HBASE-13007
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Lawlor
>            Assignee: Jonathan Lawlor
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: HBASE-13007-v1.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)