You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2016/10/28 23:30:58 UTC

[jira] [Updated] (REEF-1658) Gracefully shut down all threads at the end of the REEF job

     [ https://issues.apache.org/jira/browse/REEF-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergiy Matusevych updated REEF-1658:
------------------------------------
    Description: 
Currently, REEF launcher explicitly invokes {{System.exit(0);}} at the end of the REEF job to shut down all threads that are still running.

This is not acceptable when REEF is launched as a library alongside with other applications on the same JVM. We need to properly clean-up the resources and shut down all threads on REEF application shutdown.

  was:
Currently, REEF launcher explicitly runs
{code:java}
System.exit(0);
{code}
at the end of the REEF job to shut down all threads that are still running.

This is not acceptable when REEF is launched as a library alongside with other applications on the same JVM. We need to properly clean-up the resources and shut down all threads on REEF application shutdown.


> Gracefully shut down all threads at the end of the REEF job
> -----------------------------------------------------------
>
>                 Key: REEF-1658
>                 URL: https://issues.apache.org/jira/browse/REEF-1658
>             Project: REEF
>          Issue Type: Sub-task
>          Components: REEF Driver, REEF Runtime Local, REEF-Common, Wake
>            Reporter: Sergiy Matusevych
>            Assignee: Sergiy Matusevych
>              Labels: cleanup, close, logging, refactoring, shutdown, threads
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Currently, REEF launcher explicitly invokes {{System.exit(0);}} at the end of the REEF job to shut down all threads that are still running.
> This is not acceptable when REEF is launched as a library alongside with other applications on the same JVM. We need to properly clean-up the resources and shut down all threads on REEF application shutdown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)