AnsweredAssumed Answered

Running accumulo on MapR

Question asked by toddstavish on Mar 20, 2012
Latest reply on Mar 20, 2012 by toddstavish

Accumulo is silimar in ways to HBase. When I run the accumulo services on Mapr, I am seeing the following exception in all of the logs. It seems like this cast should work. Any ideas on the cause and/or ideas to resolve it?

20 09:00:07,644 [tabletserver.TabletServer] ERROR: Uncaught exception
in TabletServer.main, exiting
java.lang.ClassCastException: com.mapr.fs.MapRFileSystem cannot be
cast to org.apache.hadoop.hdfs.DistributedFileSystem
       at org.apache.accumulo.server.Accumulo.waitForZookeeperAndHdfs(Accumulo.java:179)
       at org.apache.accumulo.server.Accumulo.init(Accumulo.java:130)
       at org.apache.accumulo.server.tabletserver.TabletServer.config(TabletServer.java:2939)
       at org.apache.accumulo.server.tabletserver.TabletServer.main(TabletServer.java:3109)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.accumulo.start.Main$1.run(Main.java:89)
       at java.lang.Thread.run(Thread.java:662)

Outcomes