小飞侠0001 2022-05-13 06:36 采纳率: 50%
浏览 46
已结题

关于#hadoop#的启动问题,如何解决?

[root@node1 sbin]# ./start-dfs.sh
Starting namenodes on [node1]
node1: starting namenode, logging to /usr/local/hadoop-2.7.4/logs/hadoop-root-namenode-node1.out
node3: starting datanode, logging to /usr/local/hadoop-2.7.4/logs/hadoop-root-datanode-node3.out
node4: starting datanode, logging to /usr/local/hadoop-2.7.4/logs/hadoop-root-datanode-node4.out
node5: starting datanode, logging to /usr/local/hadoop-2.7.4/logs/hadoop-root-datanode-node5.out
node2: starting datanode, logging to /usr/local/hadoop-2.7.4/logs/hadoop-root-datanode-node2.out
Starting secondary namenodes [master]
master: ssh: Could not resolve hostname master: Name or service not known

[root@node1 sbin]# ./start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop-2.7.4/logs/yarn-root-resourcemanager-node1.out
node4: starting nodemanager, logging to /usr/local/hadoop-2.7.4/logs/yarn-root-nodemanager-node4.out
node3: starting nodemanager, logging to /usr/local/hadoop-2.7.4/logs/yarn-root-nodemanager-node3.out
node5: starting nodemanager, logging to /usr/local/hadoop-2.7.4/logs/yarn-root-nodemanager-node5.out
node2: starting nodemanager, logging to /usr/local/hadoop-2.7.4/logs/yarn-root-nodemanager-node2.out
[root@node1 sbin]# ./mr-jobhistory-daemon.sh start historyserver
starting historyserver, logging to /usr/local/hadoop-2.7.4/logs/mapred-root-historyserver-node1.out
[root@node1 sbin]# jps
1948 Jps
1484 NameNode
[root@node1 sbin]# jps
1958 Jps
1484 NameNode
[root@node1 sbin]#

  • 写回答

7条回答

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 系统已结题 5月21日
      • 创建了问题 5月13日

      悬赏问题

      • ¥15 请问Unity使用Magica Cloth插件怎么调整散兵的帘子和振袖比较好?
      • ¥15 请问为什么原神模型导入Unity做动画默认姿势会站不直?
      • ¥15 ld: cannot open C:\Program: No such file or directory
      • ¥15 请问汏佬要怎么访问这种过滤了post和get的php内容?
      • ¥15 C语言调用python脚本出现Debug Assertion Failed错误
      • ¥15 C语言设计学生成绩管理系统
      • ¥15 关于服务器传输和unity的一些问题
      • ¥15 python qt 实现数据表 表头筛选
      • ¥15 关于电子电气架构的问题,如何解决?
      • ¥75 数据总结公式(克服遗忘问题)