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

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

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


>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

        

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

Posted by "Eric Newton (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton resolved ACCUMULO-476.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1
    
> 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
>             Fix For: 1.4.1
>
>
> 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

        

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

Posted by "Keith Turner (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner updated ACCUMULO-476:
----------------------------------

    Affects Version/s:     (was: 1.4.0)
        Fix Version/s:     (was: 1.4.1)
                       1.4.0
    
> 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
>         Environment: Accumulo 1.4 rc 2 on mapr m5.
>            Reporter: Todd Stavish
>            Assignee: Eric Newton
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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

        

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

Posted by "Todd Stavish (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Stavish updated ACCUMULO-476:
----------------------------------

    Priority: Minor  (was: Major)
    
> 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

        

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

Posted by "Keith Turner (Commented) (JIRA)" <ji...@apache.org>.
    [ 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