Support Questions

Find answers, ask questions, and share your expertise

NameNode error: No FileSystem for scheme: http

avatar
Rising Star

Hi,

I'm in HDP 2.6. When I try to start the NameNode i get the bellow error.

java.io.IOException: No FileSystem for scheme: http at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2786) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2793) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)

and when i try a ls:

[hdfs@ambariserver ambari-agent]$ hdfs dfs -ls / ls: No FileSystem for scheme: http

Any suggestion?

Thanks

2 REPLIES 2

avatar
Guru

did you changed your fs.defaultFS in HDFS configuration, by any chance ?

avatar
Rising Star

Yes exactly. When I did "hdfs dfs -ls /" it gave an error pointing to the bad host. So I found the error and fixed it by modifying fs.defaultFS.