AnsweredAssumed Answered

Exception when create new volume

Question asked by tienthanhakay on Apr 9, 2013
Latest reply on Apr 10, 2013 by abhinav
Hi all!

I'm using MapR M5 trial.

I have just tried add a new volume by web gui.

But It error.

This is message error in web gui:

> 3:13:40 PM -
> java.lang.NoClassDefFoundError:
> com/mapr/fs/MapRFileSystem

And this is log error on log file:

    2013-04-10 22:41:12,569 INFO  com.mapr.adminuiapp.commands.CLDBCallable [pool-1-thread-26]: CLDBCallable: Parameters = [volume, create, -nodelay, 1, -type, 0, -aetype, 0, -advisoryquota, 0, -minreplication, 2, -quota, 0, -replication, 3, -name, test, -topology, /, -replicationtype, high_throughput, -readonly, 0, -user, root:fc, -ae, root]
    2013-04-10 22:41:12,588 ERROR com.mapr.adminuiapp.controllers.BaseController service [2092807029@qtp0-6]: Execution exception during command Execution for requestID: 50kze1k6pomv1365608472568166920502320559503
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/mapr/fs/MapRFileSystem
     at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
     at java.util.concurrent.FutureTask.get(FutureTask.java:111)
     at com.mapr.adminuiapp.controllers.BaseController.service(BaseController.java:135)
     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$CachedChain.doFilter(ServletHandler.java:1124)
     at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
     at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
     at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
     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.content(HttpConnection.java:879)
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
     at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
     at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636)
     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    Caused by: java.lang.NoClassDefFoundError: com/mapr/fs/MapRFileSystem
     at com.mapr.cli.MapRCliUtil.getMapRFileSystem(MapRCliUtil.java:255)
     at com.mapr.cli.VolumeCommands.volumeCreate(VolumeCommands.java:2434)
     at com.mapr.cli.VolumeCommands.executeRealCommand(VolumeCommands.java:979)
     at com.mapr.cliframework.base.CLIBaseClass.executeCommand(CLIBaseClass.java:201)
     at com.mapr.adminuiapp.commands.BaseCallable.processRequest(BaseCallable.java:112)
     at com.mapr.adminuiapp.commands.BaseCallable.processRequest(BaseCallable.java:66)
     at com.mapr.adminuiapp.commands.CLDBCallable.call(CLDBCallable.java:119)
     at com.mapr.adminuiapp.commands.CLDBCallable.call(CLDBCallable.java:30)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:679)

Please help me resolve it.
Thanks a lot!

Outcomes