flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Csanady (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLUME-3189) Use ShutdownHookManager from hadoop
Date Wed, 01 Nov 2017 18:57:00 GMT
Miklos Csanady created FLUME-3189:
-------------------------------------

             Summary: 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)

Mime
View raw message