You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/24 18:10:00 UTC
[jira] [Commented] (ASTERIXDB-2058) Job Cancellation returns before
the job is cleaned up
[ https://issues.apache.org/jira/browse/ASTERIXDB-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140429#comment-16140429 ]
ASF subversion and git services commented on ASTERIXDB-2058:
------------------------------------------------------------
Commit 87411c22cc30fb425a4839b20b3a259f28d1ef79 in asterixdb's branch refs/heads/master from [~alamoudi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=87411c2 ]
[ASTERIXDB-2058][HYR] Only Complete job cancellation after cleanup
- user model changes: no
- storage format changes: no
- interface changes: yes
--IJobManager.cancel now takes a callback
details:
- Job cancellation now completes only after the job cleanup work
has completed and not merely when the abort tasks are executed.
- The NCQueryServiceServlet actively cancels requests that passes
5 minutes.
- Cancellation of timedout jobs is not done through the Http API
but through message broker.
- Typically, requests might timeout when the servers are
overloaded. When that is the case, there is a high chance http
requests are to be rejected including requests to cancel
previously submitted queries. This is the reason for using
Message broker for this task.
- ExecuteStatementRequest used to execute the statement in
a different executor thread even though it is itself is being
executed in an executor thread and is not blocking anyone.
This was fixed as well.
Change-Id: I14b4bbd512cc88e489254d8bf82edba0fd3a3db5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1961
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
> Job Cancellation returns before the job is cleaned up
> -----------------------------------------------------
>
> Key: ASTERIXDB-2058
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2058
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: HYR - Hyracks
> Reporter: Abdullah Alamoudi
> Assignee: Abdullah Alamoudi
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)