You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2014/05/13 04:43:14 UTC
[jira] [Commented] (TAJO-819) KillQuery does not work query
occasionally.
[ https://issues.apache.org/jira/browse/TAJO-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995970#comment-13995970 ]
Jaehwa Jung commented on TAJO-819:
----------------------------------
This patch includes a few features as follows:
* Added StateMachine for QueryUnit and QueryUnitAttempt
* Added StateMachine type for debugging
* Check stopped QueryId for blocking unexpected resource requests
> KillQuery does not work query occasionally.
> -------------------------------------------
>
> Key: TAJO-819
> URL: https://issues.apache.org/jira/browse/TAJO-819
> Project: Tajo
> Issue Type: Bug
> Components: query master, worker
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
> Fix For: 0.9.0, 0.8.1
>
> Attachments: TAJO-819.patch
>
>
> There are two types of killing queries. First is that QueryMaster cancel QueryUnitAttempt before QueryUnitAttempt be passed to TajoWorker. Second is that TajoWorker cancel running QueryUnitAttempt.
> If QueryMaster cancel QueryUnitAttempts, it will be stopped. But unfortunately, at nearly the same time, a few QueryUnitAttempts can be passed to TajoWorker. And these never will be stopped because it can't find valid state for state machines.
--
This message was sent by Atlassian JIRA
(v6.2#6252)