gpt4 book ai didi

hadoop - Hadoop “not getting namenode with jps command”为什么namenode没有启动

转载 作者:行者123 更新时间:2023-12-02 22:07:51 27 4
gpt4 key购买 nike

hadoop1 @ xyzfsdemo:/ usr / local / hadoop $ sbin / start-all.sh此脚本已弃用。而是使用start-dfs.sh和start-yarn.sh
在[localhost]上启动namenodes
本地主机:启动namenode,登录到/usr/local/hadoop/logs/hadoop-hadoop1-namenode-xyzfsdemo.out
本地主机:启动datanode,登录到/usr/local/hadoop/logs/hadoop-hadoop1-datanode-xyzfsdemo.out
启动辅助名称节点[0.0.0.0]
0.0.0.0:启动secondarynamenode,登录到/usr/local/hadoop/logs/hadoop-hadoop1-secondarynamenode-xyzfsdemo.out
启动 yarn 守护程序
启动resourcemanager,登录到/usr/local/hadoop/logs/yarn-hadoop1-resourcemanager-xyzfsdemo.out
本地主机:启动nodemanager,登录到/usr/local/hadoop/logs/yarn-hadoop1-nodemanager-xyzfsdemo.out
hadoop1 @ xyzfsdemo:/ usr / local / hadoop $ jps
52396数据节点
53151 Jp​​s
53072节点管理器
52660 SecondaryNameNode
52860 ResourceManager

最佳答案

您应该在开始之前每次格式化namenode。

$HADOOP_INSTALL/hadoop/bin/hadoop namenode -format

关于hadoop - Hadoop “not getting namenode with jps command”为什么namenode没有启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31554691/

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