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 <j...@linkedin.com>
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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to