Hadoop 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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31383567/viewspace-2144200/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle啟動與關閉Oracle
- Oracle RAC 啟動與關閉Oracle
- mysql啟動與關閉(手動與自動)MySql
- RAC 資料庫的啟動與關閉資料庫
- Oracle 10g RAC 啟動與關閉Oracle 10g
- oracle結構梳理----checkpoint——啟動與關閉Oracle
- Oracle單例項+ASM啟動與關閉Oracle單例ASM
- Oracle資料庫的啟動與關閉Oracle資料庫
- Mongodb開啟與關閉MongoDB
- ORACLE DataGuard 關閉啟動Oracle
- 啟動/關閉 dynamic viewView
- rac下啟動關閉與更改歸檔模式模式
- nginx啟動,重啟,關閉命令Nginx
- Hadoop-2.7.4 叢集快速搭建Hadoop
- win10系統快速啟動怎麼關閉 關閉Windows快速啟動Win10Windows
- SHELL指令碼實現Oracle自啟動與關閉指令碼Oracle
- rac下啟動關閉與更改歸檔模式(zt)模式
- 啟動、關閉與資料庫的特殊狀態資料庫
- 啟動/關閉與冷備份Oracle資料庫Oracle資料庫
- centos下nginx啟動、重啟、關閉CentOSNginx
- mysql的啟動和關閉MySql
- ORACLE啟動模式及關閉Oracle模式
- win10快速啟動怎麼關閉_win10如何關閉快速啟動Win10
- 資料庫自動啟動關閉資料庫
- windows10怎麼關閉快速啟動_windows10關閉快速啟動的方法Windows
- Oracle9i / 10g RAC 啟動與關閉Oracle
- nginx的啟動、關閉和平滑重啟(=)Nginx
- linux svn啟動和關閉Linux
- MySQL Windows下關閉和啟動MySqlWindows
- SAP筆記-啟動關閉SAP筆記
- 資料庫啟動和關閉資料庫
- CentOS7 Hadoop-2.7.4 分散式部署CentOSHadoop分散式
- Oracle監聽啟動後自動關閉Oracle
- oracle自動啟動和關閉的方法Oracle
- win10 自動重啟關閉方法_win10自動重啟怎麼關閉Win10
- 如何關閉win10快速啟動_win10系統快速啟動怎麼關閉Win10
- oracle資料庫的啟動關閉與各種服務Oracle資料庫
- Oracle cloud control 12c 的啟動與關閉OracleCloud