问题描述
在设置hadoop集群时,我读取了50070上的namenode,并据此进行了设置,运行正常。
When I setup the hadoop cluster, I read the namenode runs on 50070 and I set up accordingly and it's running fine.
但是在我遇到的一些书中名称节点地址:
But in some books I have come across name node address :
hdfs://localhost:9000/
或
hdfs://localhost:8020
准确设置namenode的端口号码是什么?
What exactly is the proper number to set the port of namenode?
推荐答案
namenode Web UI的默认地址是 http:// localhost:50070 /
。您可以在您的浏览器中打开此地址并检查namenode信息。
The default address of namenode web UI is http://localhost:50070/
. You can open this address in your browser and check the namenode information.
namenode服务器的默认地址是 hdfs:// localhost:8020 /
。您可以连接到HDFS API以访问HDFS。这是真正的服务地址。
The default address of namenode server is hdfs://localhost:8020/
. You can connect to it to access HDFS by HDFS api. The is the real service address.
这篇关于HDFS的默认Namenode端口是50070.但我在某些地方遇到过8020或9000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!