hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3337) HDFS command fails with exception following merge of HADOOP-8325
Date Tue, 01 May 2012 20:32:52 GMT

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

Alejandro Abdelnur updated HDFS-3337:
-------------------------------------

    Attachment: HDFS-3337.patch

My bad, I've missed the removal of the shutdownhook from the closing iteration.

Attached is a patch that removes the removal of the shutdownhook from the Cache when the cache
is empty. In such situation the shutdownhook will remain and will just do a NOP.

Randy, would you please give it a try? don't see how to test this properly from a testcase.

thxs
                
> HDFS command fails with exception following merge of HADOOP-8325
> ----------------------------------------------------------------
>
>                 Key: HDFS-3337
>                 URL: https://issues.apache.org/jira/browse/HDFS-3337
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 2.0.0
>         Environment: QE tests on version 2.0.1205010603
>            Reporter: Randy Clayton
>            Assignee: Alejandro Abdelnur
>         Attachments: HDFS-3337.patch
>
>
> We are seeing most hdfs commands in our nightly acceptance tests fail with an exception
as shown below. This started with a few hours of the merge of HADOOP-8325 on 4/30/2012
> hdfs --config conf/hadoop/ dfs -ls dirname
> ls: `dirname': No such file or directory
> 12/05/01 16:57:52 WARN util.ShutdownHookManager: ShutdownHook 'ClientFinalizer' failed,
java.lang.IllegalStateException: Shutdown in progress, cannot remove a shutdownHook
> java.lang.IllegalStateException: Shutdown in progress, cannot remove a shutdownHook
> 	at org.apache.hadoop.util.ShutdownHookManager.removeShutdownHook(ShutdownHookManager.java:166)
> 	at org.apache.hadoop.fs.FileSystem$Cache.remove(FileSystem.java:2202)
> 	at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:2231)
> 	at org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer.run(FileSystem.java:2251)
> 	at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message