AnsweredAssumed Answered

How to call MAPR client from tomcat webserver?

Question asked by timo on Aug 3, 2012
Latest reply on Aug 3, 2012 by timo
Is there a way to call MAPR client in tomcat. I tried using the same approach as specified @ http://www.mapr.com/blog/basic-notes-on-configuring-eclipse-as-a-hadoop-development-environment-for-mapr

I am able to invoke MAPR client from eclipse but in tomcat it doesnot work, it fails with following error.

java.io.IOException: No FileSystem for scheme: jndi
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1534)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:69)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1571)

More stack trace in case if this helps

Caused by: java.io.IOException: No FileSystem for scheme: jndi
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1534)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:69)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1571)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1553)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:232)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:183)
at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:388)
at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:275)
at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:413)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:164)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:147)
at org.springframework.data.hadoop.mapreduce.JobGenericOptions.buildGenericOptions(JobGenericOptions.java:82)
... 30 more


Any suggestions on how to configure MAPR client in tomcat is really appreciated.

Outcomes