asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ASTERIXDB-2058) Job Cancellation returns before the job is cleaned up
Date Thu, 24 Aug 2017 18:10:00 GMT


ASF subversion and git services commented on ASTERIXDB-2058:

Commit 87411c22cc30fb425a4839b20b3a259f28d1ef79 in asterixdb's branch refs/heads/master from
[;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

- 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
Tested-by: Jenkins <>
Contrib: Jenkins <>
Integration-Tests: Jenkins <>
Reviewed-by: Murtadha Hubail <>

> Job Cancellation returns before the job is cleaned up
> -----------------------------------------------------
>                 Key: ASTERIXDB-2058
>                 URL:
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: HYR - Hyracks
>            Reporter: Abdullah Alamoudi
>            Assignee: Abdullah Alamoudi

This message was sent by Atlassian JIRA

View raw message