hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5963) ClassCastException: FileSystem$Cache$ClientFinalizer cannot be cast to Thread
Date Wed, 09 May 2012 16:33:52 GMT

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

Andrew Purtell commented on HBASE-5963:
---------------------------------------

These test pass with the "v1" patch. I think the difference is in Hadoop 1.x there is a cacheFinalizer
per filesystem impl, but in 2.x there is one for all filesystems (for the user). 
                
> ClassCastException: FileSystem$Cache$ClientFinalizer cannot be cast to Thread
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-5963
>                 URL: https://issues.apache.org/jira/browse/HBASE-5963
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0, 0.96.0
>         Environment: Bigtop 0.4.0-incubating-SNAPSHOT, Hadoop 2.0.0-alpha-SNAPSHOT, HBase
0.94.0-SNAPSHOT
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>         Attachments: 5963-v2.txt, 5963-v3.txt, HBASE-5963.patch, HBASE-5963.patch
>
>
> {code}
> 12/05/08 19:49:26 INFO regionserver.HRegionServer: STOPPED: Failed initialization
> Exception in thread "main" java.lang.ClassCastException: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer
cannot be cast to java.lang.Thread
> 	at org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:181)
> 	at org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:82)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3601)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3585)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:75)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3645)
> {code}

--
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