gpt4 book ai didi

hadoop - Hadoop-DataNode未在从属服务器中运行

转载 作者:行者123 更新时间:2023-12-02 21:30:23 26 4
gpt4 key购买 nike

我正在尝试设置集群hadoop环境,但无法启动从属服务器中的数据节点。

这是我来自主节点的日志-

hduser@vagrant:/usr/local/hadoop/sbin$ bash start-dfs.sh15/12/29 20:04:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [master]
master: namenode running as process 5633. Stop it first.
slave: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hduser-datanode-vagrant.out
master: datanode running as process 3362. Stop it first.
localhost: datanode running as process 3362. Stop it first.
Starting secondary namenodes [0.0.0.0]
0.0.0.0: secondarynamenode running as process 3527. Stop it first.
15/12/29 20:04:42 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
hduser@vagrant:/usr/local/hadoop/sbin$
hduser@vagrant:/usr/local/hadoop/sbin$ jps
3527 SecondaryNameNode
3362 DataNode
5633 NameNode
6765 Jps

在上面的日志中,它看起来像启动了,但是这是从节点jps命令-
hduser@vagrant:/usr/local/hadoop/logs$ jps
3135 Jps

没有看到datanode正在运行。

最佳答案

看来您没有将您的从属地址放在/ etc / hosts中。一探究竟。如果可以,请检查从站的日志。

关于hadoop - Hadoop-DataNode未在从属服务器中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34518401/

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