mac上的hadoop,资源管理器,没有启动

5lwkijsr  于 2021-05-27  发布在  Hadoop
关注(0)|答案(1)|浏览(458)
CKui-MacBook-Pro:~ CK$ /usr/local/Cellar/hadoop/3.2.1/sbin/start-dfs.sh
Starting namenodes on [localhost]
Starting datanodes
Starting secondary namenodes [CKui-MacBook-Pro.local]
2019-12-15 18:53:28,670 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
CKui-MacBook-Pro:~ CK$ /usr/local/Cellar/hadoop/3.2.1/sbin/start-yarn.sh
Starting resourcemanager
Starting nodemanagers
CKui-MacBook-Pro:~ CK$ jps
32689 Jps
32563 NodeManager
32234 SecondaryNameNode
31983 NameNode

我不知道为什么,但是资源管理器最终没有启动,因此localhost:8088 is 找不到。其他一切都很好localhost:9870 and 9868
如何解决此问题?我正在mac自制上使用hadoop 3.2.1
谢谢

qij5mzcb

qij5mzcb1#

检查是否 fs.defaultFS 在/usr/local/cellar/hadoop/3.2.1/etc/hadoop/core-site.xml中

<property>
  <name>fs.defaultFS</name>
  <value>hdfs://localhost:9000</value>
</property>

以及 yarn.resourcemanager.address 在/usr/local/cellar/hadoop/3.2.1/etc/hadoop/yarn-site.xml中

<property>
  <name>yarn.resourcemanager.address</name>
  <value>localhost:9001</value>
</property>

使用同一端口

相关问题