完善启动:添加hadoop、yarn、hive

This commit is contained in:
huayu 2021-08-27 22:31:35 +08:00
parent df45a50b8a
commit f3ec19efe6
1 changed files with 26 additions and 0 deletions

View File

@ -24,3 +24,29 @@ zkServer.sh status
flume-ng agent -n a -f ./to_kafka.conf -Dflume.root.logger=INFO,console flume-ng agent -n a -f ./to_kafka.conf -Dflume.root.logger=INFO,console
``` ```
## hadoop启动
```shell
## 启动全部node节点
start-all.sh
## 关闭安全模式
hdfs dfsadmin -safemode leave
```
## yarn启动
```shell
yarn-daemon.sh start resourcemanager
```
## hive启动
```shell
## 启动元数据
hive --service metastore &
## 启动客户端
hive
```