Hadoop

网友投稿 232 2022-11-19

Hadoop

2)启动集群

(a)启动前必须保证namenode和datanode已经启动

(b)启动resourcemanager

[atguigu@hadoop101 hadoop-2.7.2]$ sbin/yarn-daemon.sh start resourcemanager

(c)启动nodemanager

[atguigu@hadoop101 hadoop-2.7.2]$ sbin/yarn-daemon.sh start nodemanager

(3)集群操作

(a)yarn的浏览器页面查看

​​ "mycats"="/opt/modules/mycat/bin/mycat status"alias "mycatstop"="/opt/modules/mycat/bin/mycat stop"alias "hive"="/opt/modules/hive/bin/hive"alias "namenode"="/opt/modules/hadoop-2.7.2/sbin/hadoop-daemon.sh start namenode"alias "datanode"="/opt/modules/hadoop-2.7.2/sbin/hadoop-daemon.sh start datanode"alias "resourcemanager"="/opt/modules/hadoop-2.7.2/sbin/yarn-daemon.sh start resourcemanager"alias "nodemanager"="/opt/modules/hadoop-2.7.2/sbin/yarn-daemon.sh start nodemanager"alias "hadoop"="namenode ; datanode;nodemanager"alias "dates"="date '+%Y-%m-%d %H:%M:%S' "alias "dates"="ntpdate cn.pool.ntp.org ;ntpdate ntp1.aliyun.com ; date '+%Y-%m-%d %H:%M:%S' "

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:微雪电子RS485 CAN通信扩展板简介
下一篇:All specified directories are failed to load.(二)解决办法就是重新安装Zookeeper与Hadoop
相关文章

 发表评论

暂时没有评论,来抢沙发吧~