java.io.IOException: No FileSystem for scheme: >> hdfs >> at >> org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2206) >> at >> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2213) >> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:80) >> at >> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2252) >> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2234) >> >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:300) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:156) >> at CopyFile.main(CopyFile.java:14) >> >> Have any idea about this? >> >> Thanks again >> >> >> >> >> >> On Tue, Nov 20, 2012 at 2:53 PM, Mohammad Tariq <dontariq@gmail.com>wrote: >> >>> You can download the jar here : >>> http://search.maven.org/remotecontent?filepath=com/google/guava/guava/13.0.1/guava-13.0.1.jar >>> >>> Regards, >>> Mohammad Tariq >>> >>> >>> >>> On Tue, Nov 20, 2012 at 8:06 PM, kashif khan <drkashif8310@gmail.com>wrote: >>> >>>> Could please let me know the name of jar file and location >>>> >>>> Many thanks >>>> >>>> Best regards >>>> >>>> >>>> On Tue, Nov 20, 2012 at 2:33 PM, Mohammad Tariq <dontariq@gmail.com>wrote: >>>> >>>>> Download the required jar and include it in your project. >>>>> >>>>> Regards, >>>>> Mohammad Tariq >>>>> >>>>> >>>>> >>>>> On Tue, Nov 20, 2012 at 7:57 PM, kashif khan <drkashif8310@gmail.com>wrote: >>>>> Dear Tariq Thanks I have added the jar files from Cdh and download the cdh4 eclipse plugin and copied into eclipse plugin folder. The previous error I think sorted out but now I am getting another strange error. Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via flume-user by shekhar sharma, 1 year ago
@gmail.com>wrote: >> >>> You can download the jar here : >>> http://search.maven.org/remotecontent?filepath=com/google/guava/guava/13.0.1/guava-13.0.1.jar >>> >>> Regards, >>> Mohammad Tariq >>> >>> >>> >>> On Tue, Nov 20, 2012 at 8:06 PM, kashif khan
java.io.IOException: No FileSystem for scheme: >> hdfs >> at >> org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2206) >> at >> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2213) >> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:80) >> at >> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2252) >> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2234) >> >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:300) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:156) >> at CopyFile.main(CopyFile.java:14) >> >> Have any idea about this? >> >> Thanks again >> >> >> >> >> >> On Tue, Nov 20, 2012 at 2:53 PM, Mohammad Tariq <dontariq@gmail.com>wrote: >> >>> You can download the jar here : >>> http://search.maven.org/remotecontent?filepath=com/google/guava/guava/13.0.1/guava-13.0.1.jar >>> >>> Regards, >>> Mohammad Tariq >>> >>> >>> >>> On Tue, Nov 20, 2012 at 8:06 PM, kashif khan <drkashif8310@gmail.com>wrote: >>> >>>> Could please let me know the name of jar file and location >>>> >>>> Many thanks >>>> >>>> Best regards >>>> >>>> >>>> On Tue, Nov 20, 2012 at 2:33 PM, Mohammad Tariq <dontariq@gmail.com>wrote: >>>> >>>>> Download the required jar and include it in your project. >>>>> >>>>> Regards, >>>>> Mohammad Tariq >>>>> >>>>> >>>>> >>>>> On Tue, Nov 20, 2012 at 7:57 PM, kashif khan <drkashif8310@gmail.com>wrote: >>>>> Dear Tariq Thanks I have added the jar files from Cdh and download the cdh4 eclipse plugin and copied into eclipse plugin folder. The previous error I think sorted out but now I am getting another strange error. Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Maps
at org.apache.hadoop.metrics2.lib.MetricsRegistry.(MetricsRegistry.java:42)
at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.(MetricsSystemImpl.java:87)
at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.(MetricsSystemImpl.java:133)
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.(DefaultMetricsSystem.java:38)
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.(DefaultMetricsSystem.java:36)
at org.apache.hadoop.security.UserGroupInformation$UgiMetrics.create(UserGroupInformation.java:97)
at org.apache.hadoop.security.UserGroupInformation.(UserGroupInformation.java:190)
at org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:2373)
at org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:2365)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2233)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:300)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:156)
at undefined.CopyFile.main(CopyFile.java:14)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.