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

Miklos Csanady resolved FLUME-3189.
-----------------------------------
    Resolution: Duplicate

Two jiras opened for the same problem. The other one will provide the solution

> Use ShutdownHookManager from hadoop
> -----------------------------------
>
>                 Key: FLUME-3189
>                 URL: https://issues.apache.org/jira/browse/FLUME-3189
>             Project: Flume
>          Issue Type: Improvement
>         Environment: Flume should use hadoops's ShutdownHookManager 
> /**
>  * The <code>ShutdownHookManager</code> enables running shutdownHook
>  * in a deterministic order, higher priority first.
>  * <p/>
>  * The JVM runs ShutdownHooks in a non-deterministic order or in parallel.
>  * This class registers a single JVM shutdownHook and run all the
>  * shutdownHooks registered to it (to this class) in order based on their
>  * priority.
>  */
> With this, we can avoid problems coming from indeterministic shutdown order.
>            Reporter: Miklos Csanady
>            Assignee: Miklos Csanady
>            Priority: Normal
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to