启动
执行命令:
start-all.sh#或者是使用如下两条命令启动hadoop,第一条命令实际上操作的就是下面两条命令start-dfs.shstart-yarn.sh
出现如下信息:
[hadoop@master100 hadoop]$ start-all.sh#执行上述命令会出现如下信息This script is Deprecated. Instead use start-dfs.sh and start-yarn.shStarting namenodes on [localhost]localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-namenode-master100.outlocalhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hadoop-datanode-master100.outStarting secondary namenodes [0.0.0.0]The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.ECDSA key fingerprint is SHA256:smnjN2nAXE9l/kx1fQ2r3KBQt14TMjgaVlh+65clSrA.ECDSA key fingerprint is MD5:75:f5:c8:d0:06:c2:c8:0d:25:8b:b9:d5:47:8c:3a:f5.#到这里时注意输入yes后回车Are you sure you want to continue connecting (yes/no)? yes0.0.0.0: Warning: Permanently added '0.0.0.0' (ECDSA) to the list of known hosts.0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-secondarynamenode-master100.outstarting yarn daemonsstarting resourcemanager, logging to /usr/local/hadoop/logs/yarn-hadoop-resourcemanager-master100.outlocalhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-hadoop-nodemanager-master100.out
查看启动的进程:
jps
出现如下进程说明安装并启动成功
[hadoop@master100 hadoop]$ jps6566 NameNode7399 Jps6664 DataNode7016 ResourceManager7114 NodeManager6862 SecondaryNameNode
可以进入如下网页查看与
192.168.33.100:50070
文章插图
192.168.33.100:8088
文章插图
关闭
【伪分布式CentOS 7部署Hadoop】
[hadoop@master100 sbin]$ stop-all.shThis script is Deprecated. Instead use stop-dfs.sh and stop-yarn.shStopping namenodes on [localhost]localhost: stopping namenodelocalhost: stopping datanodeStopping secondary namenodes [0.0.0.0]0.0.0.0: stopping secondarynamenodestopping yarn daemonsstopping resourcemanagerlocalhost: stopping nodemanagerno proxyserver to stop
- 视频分布式上传方案详解
- 超详细 墨者学院-入门级-浏览器信息伪造-小白必看
- centos7 搭建 tinyProxy代理
- Vmware安装配置CentOS完整过程--linux环境配置
- 农药防伪追溯查询码是什么?
- 一 复现区块链Fabric1.4项目记录安装配置centos8虚拟机
- 化妆品查真伪扫一扫,如何辨别化妆品真假
- CentOS6.3 系统中su,su -,sudo三命令讲解
- 工作纪实_22-搭建分布式项目时使用spring-session替代token
- 位置 结构伪类选择器(CSS3)