hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12423) Handle failure of registering shutdownhook by ShutdownHookManager in static block
Date Thu, 21 Jan 2016 15:11:39 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110731#comment-15110731
] 

Hudson commented on HADOOP-12423:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9148 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9148/])
HADOOP-12423. Handle failure of registering shutdownhook by (vinayakumarb: rev 446987e20aacd870e1bc3f950b2bd4bbda1f9571)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> Handle failure of registering shutdownhook by ShutdownHookManager in static block
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-12423
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12423
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.7.1
>            Reporter: Abhishek Agarwal
>            Assignee: Abhishek Agarwal
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12423.patch
>
>
> If JVM is under shutdown, static method in ShutdownHookManager will throw an IllegalStateException.
This exception should be caught and ignored while registering the hooks. 
> Stack trace: 
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.util.ShutdownHookManager
>        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2639) ~[stormjar.jar:1.4.0-SNAPSHOT]
>        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612) ~[stormjar.jar:1.4.0-SNAPSHOT]
>        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) ~[stormjar.jar:1.4.0-SNAPSHOT]
>        ...
>        ...
>        at backtype.storm.daemon.executor$fn__6647$fn__6659.invoke(executor.clj:692) ~[storm-core-0.9.5.jar:0.9.5]
>        at backtype.storm.util$async_loop$fn__459.invoke(util.clj:461) ~[storm-core-0.9.5.jar:0.9.5]
>        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
>        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
> {noformat}



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

Mime
View raw message