[
https://issues.apache.org/jira/browse/HELIX-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15603450#comment-15603450
]
ASF GitHub Bot commented on HELIX-636:
--------------------------------------
GitHub user dasahcc opened a pull request:
https://github.com/apache/helix/pull/55
[HELIX-636] Add Java API and REST API for clean up JobQueue
Since JobQueue never cleans up the jobs in the final stage (FAILED,
COMPLETED, ABORTED), JobQueue will reach the capacity limit when jobs keep
adding in.
1. Current fix will be adding an API in TaskDriver to clean up the final
statge. To clean up the jobs in the final states, call the API cleanUpJobQueue()
2. As JobQueue is dynamic queue running, JobQueue should not be failed due
to job failed threshold. Fix it with check whether failing due to other jobs
fail is for JobQueue or generic workflow.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dasahcc/helix helix-0.6.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/55.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #55
----
commit 927ad62eb17edeff255866c38d3b2aa7a4eb5da7
Author: Junkai Xue <[email protected]>
Date: 2016-10-24T22:34:29Z
Add Java API and REST API for clean up JobQueue
To clean up the jobs in the final states, provide a Java API and REST API
in helix.
----
> JobQueue capacity is full due to job not cleaned up
> ---------------------------------------------------
>
> Key: HELIX-636
> URL: https://issues.apache.org/jira/browse/HELIX-636
> Project: Apache Helix
> Issue Type: Bug
> Components: helix-core
> Affects Versions: 0.6.4
> Reporter: Junkai Xue
> Assignee: Junkai Xue
> Fix For: 0.6.x
>
>
> Since JobQueue never cleans up the jobs in the final stage (FAILED,
> COMPLETED, ABORTED), JobQueue will reach the capacity limit when jobs keep
> adding in.
> Fix: Current fix will be adding an API in TaskDriver to clean up the final
> statge.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)