内容简介:环境说明:[root@hadp-master sbin]#Hadoop versionHadoop 2.7.4
环境说明:
[root@hadp-master sbin]#Hadoop version
Hadoop 2.7.4
一、 脚本封装全部一起启动、关闭
1.1 启动
[root@hadp-master sbin]# ./start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [hadp-master]
hadp-master: starting namenode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-namenode-hadp-master.out
hadp-node2: starting datanode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node2.out
hadp-node1: starting datanode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node1.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-secondarynamenode-hadp-master.out
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-resourcemanager-hadp-master.out
hadp-node2: starting nodemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node2.out
hadp-node1: starting nodemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node1.out
说明:启动所有的Hadoop守护进程。包括NameNode、DataNode、 Secondary NameNode、Yarn、 Yarn-root-nodemanager
1.2 关闭
[root@hadp-master sbin]# ./stop-all.sh
This script is Deprecated. Instead use stop-dfs.sh and stop-yarn.sh
Stopping namenodes on [hadp-master]
hadp-master: stopping namenode
hadp-node2: stopping datanode
hadp-node1: stopping datanode
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: stopping secondarynamenode
stopping yarn daemons
stopping resourcemanager
hadp-node2: no nodemanager to stop
hadp-node1: no nodemanager to stop
no proxyserver to stop
说明:关闭所有的Hadoop守护进程。包括NameNode、DataNode、 Secondary NameNode、Yarn、resourcemanager
二、模块封装启动、关闭
2.1 启动
[root@hadp-master sbin]# ./start-dfs.sh
Starting namenodes on [hadp-master]
hadp-master: starting namenode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-namenode-hadp-master.out
hadp-node1: starting datanode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node1.out
hadp-node2: starting datanode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-datanode-hadp-node2.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/hadoop-2.7.4/logs/hadoop-root-secondarynamenode-hadp-master.out
说明:启动Hadoop HDFS守护进程NameNode、DataNode、SecondaryNameNode
[root@hadp-master sbin]# ./start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-resourcemanager-hadp-master.out
hadp-node2: starting nodemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node2.out
hadp-node1: starting nodemanager, logging to /usr/local/hadoop/hadoop-2.7.4/logs/yarn-root-nodemanager-hadp-node1.out
说明:启动yarn daemons、yarn-root-resourcemanager、yarn-root-nodemanager
2.2 关闭
[root@hadp-master sbin]# ./stop-dfs.sh
Stopping namenodes on [hadp-master]
hadp-master: stopping namenode
hadp-node2: stopping datanode
hadp-node1: stopping datanode
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: stopping secondarynamenode
说明:停止Hadoop HDFS守护进程NameNode、DataNode、SecondaryNameNode
[root@hadp-master sbin]# ./stop-yarn.sh
stopping yarn daemons
stopping resourcemanager
hadp-node1: no nodemanager to stop
hadp-node2: no nodemanager to stop
no proxyserver to stop
说明:关闭yarn daemons、yarn-root-resourcemanager、nodemanager
Hadoop2.3-HA高可用集群环境搭建 https://www.linuxidc.com/Linux/2017-03/142155.htm
Hadoop项目之基于CentOS7的Cloudera 5.10.1(CDH)的安装部署 https://www.linuxidc.com/Linux/2017-04/143095.htm
CentOS 7.4下Hadoop 2.7.6安装部署 https://www.linuxidc.com/Linux/2018-08/153353.htm
Hadoop2.7.2集群搭建详解(高可用) https://www.linuxidc.com/Linux/2017-03/142052.htm
使用Ambari来部署Hadoop集群(搭建内网HDP源) https://www.linuxidc.com/Linux/2017-03/142136.htm
Ubuntu 14.04下Hadoop集群安装 https://www.linuxidc.com/Linux/2017-02/140783.htm
CentOS 6.7安装Hadoop 2.7.2 https://www.linuxidc.com/Linux/2017-08/146232.htm
Ubuntu 16.04上构建分布式Hadoop-2.7.3集群 https://www.linuxidc.com/Linux/2017-07/145503.htm
CentOS 7 下 Hadoop 2.6.4 分布式集群环境搭建 https://www.linuxidc.com/Linux/2017-06/144932.htm
Hadoop2.7.3+Spark2.1.0完全分布式集群搭建过程 https://www.linuxidc.com/Linux/2017-06/144926.htm
CentOS 7.4下编译安装Hadoop 2.7.6 及所需文件 https://www.linuxidc.com/Linux/2018-06/152786.htm
Ubuntu 16.04.3 下安装配置 Hadoop https://www.linuxidc.com/Linux/2018-04/151993.htm
更多Hadoop相关信息见 Hadoop 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=13
Linux公社的RSS地址: https://www.linuxidc.com/rssFeed.aspx
本文永久更新链接地址: https://www.linuxidc.com/Linux/2018-08/153357.htm
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Oracle数据库启动和关闭
- Oracle连接启动和关闭模式(汇总)
- MySQL Workbench无法从远程启动/关闭
- Elasticsearch源码分析 | 单节点的启动和关闭
- Kafka 源码解析:Broker 节点的启动与关闭
- Oracle-OCP学习笔记:参数文件及数据库的启动和关闭
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Real-Time Rendering, Third Edition
Tomas Akenine-Moller、Eric Haines、Naty Hoffman / A K Peters/CRC Press / 2008-7-25 / USD 102.95
Thoroughly revised, this third edition focuses on modern techniques used to generate synthetic three-dimensional images in a fraction of a second. With the advent or programmable shaders, a wide varie......一起来看看 《Real-Time Rendering, Third Edition》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
HSV CMYK 转换工具
HSV CMYK互换工具