gpt4 book ai didi

hadoop - NameNode启动错误: No FileSystem for scheme: ht

转载 作者:可可西里 更新时间:2023-11-01 15:55:48 25 4
gpt4 key购买 nike

我在 HDP 2.6 中。当我尝试启动 NameNode 时,出现以下错误:

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)

当我尝试 hdfs ls 命令时:

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

有什么建议吗?

最佳答案

No FileSystem for scheme: http ”错误发生在 fs.defaultFScore-site.xml 中的属性(property)值(value)使用 http协议(protocol)(而不是 hdfs )即值看起来像 http://<host>:<port> .正确值为 hdfs://<host>:<port>

关于hadoop - NameNode启动错误: No FileSystem for scheme: ht,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44523701/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com