You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (Commented) (JIRA)" <ji...@apache.org> on 2012/03/20 18:25:37 UTC

[jira] [Commented] (ACCUMULO-476) java.lang.ClassCastException: com.mapr.fs.MapRFileSystem cannot be cast to org.apache.hadoop.hdfs.DistributedFileSystem

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

Keith Turner commented on ACCUMULO-476:
---------------------------------------

I will try to create a functional test that uses the LocalFileSystem instead of DistributedFileSystem.  Hopefully that will reproduce this and maybe find other issues.
                
> java.lang.ClassCastException: com.mapr.fs.MapRFileSystem cannot be cast to org.apache.hadoop.hdfs.DistributedFileSystem
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-476
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-476
>             Project: Accumulo
>          Issue Type: Bug
>          Components: logger, master, tserver
>    Affects Versions: 1.4.0
>         Environment: Accumulo 1.4 rc 2 on mapr m5.
>            Reporter: Todd Stavish
>            Assignee: Eric Newton
>            Priority: Minor
>
> From Keith Turner on the accumulo user group:
> I looked at the code and its just simply cast to a
> DistributedFileSystem inorder to check if HDFS is in safe mode.  It
> should do an instanceof operation and then do the case.  Would you
> mind opening a ticket about this?

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