reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1658) Gracefully shut down all threads at the end of the REEF job
Date Fri, 28 Oct 2016 23:30:58 GMT

     [ 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)

Mime
View raw message