Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NameNode error: No FileSystem for scheme: http

Highlighted

NameNode error: No FileSystem for scheme: http

New Contributor

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

Re: NameNode error: No FileSystem for scheme: http

Guru

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

Re: NameNode error: No FileSystem for scheme: http

New Contributor

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.

Don't have an account?
Coming from Hortonworks? Activate your account here