Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
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.
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.
Attachments
Issue Links
- is duplicated by
-
FLUME-3190 flume shutdown hook issue when both hbase and hdfs sink are in use
- In Progress