You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Chris Almond (JIRA)" <ji...@apache.org> on 2012/08/08 17:38:21 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=13431172#comment-13431172 ]
Chris Almond commented on ACCUMULO-476:
---------------------------------------
Verified same error is occurring in v1.4.1, with MapR M5 v2.0beta.
{quote}
java.lang.ClassCastException: com.mapr.fs.MapRFileSystem cannot be cast to org.apache.hadoop.hdfs.DistributedFileSystem
at org.apache.accumulo.server.monitor.servlets.DefaultServlet.doHdfsTable(DefaultServlet.java:297)
at org.apache.accumulo.server.monitor.servlets.DefaultServlet.pageBody(DefaultServlet.java:207)
at org.apache.accumulo.server.monitor.servlets.BasicServlet.doGet(BasicServlet.java:62)
at org.apache.accumulo.server.monitor.servlets.DefaultServlet.doGet(DefaultServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
{quote}
> 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