mirror of
https://github.com/newnius/YAO-docs.git
synced 2024-07-06 05:15:18 +00:00
update
This commit is contained in:
parent
057edbbac1
commit
1e0dc50608
19
sbin/run_hdfs.sh
Normal file
19
sbin/run_hdfs.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Run on all HDFS nodes, and update the conf files
|
||||||
|
|
||||||
|
exit;
|
||||||
|
|
||||||
|
docker run \
|
||||||
|
--name hdfs-node1 \
|
||||||
|
--hostname node1 \
|
||||||
|
--net host \
|
||||||
|
--add-host=$(node1):$(ip1) \
|
||||||
|
--add-host=$(node2):$(ip2) \
|
||||||
|
--add-host=$(node3):$(ip3) \
|
||||||
|
-d \
|
||||||
|
--restart always \
|
||||||
|
--mount type=bind,src=/data/hadoop/config,dst=/config/hadoop \
|
||||||
|
--mount type=bind,src=/data/hadoop/hdfs,dst=/tmp/hadoop-root \
|
||||||
|
--mount type=bind,src=/data/hadoop/logs,dst=/usr/local/hadoop/logs \
|
||||||
|
newnius/hadoop:2.7.4
|
9
setup.md
9
setup.md
@ -36,6 +36,10 @@ docker network create --driver overlay --attachable --opt encrypted yao-net
|
|||||||
sbin/start_zks.sh
|
sbin/start_zks.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Start HDFS cluster
|
||||||
|
```bash
|
||||||
|
sbin/run_hdfs.sh
|
||||||
|
```
|
||||||
|
|
||||||
## Start Kafka cluster
|
## Start Kafka cluster
|
||||||
```bash
|
```bash
|
||||||
@ -68,6 +72,11 @@ sbin/run_agent_helper.sh
|
|||||||
sbin/run_agent.sh
|
sbin/run_agent.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Start the agent-master on YAO-Master
|
||||||
|
```bash
|
||||||
|
sbin/start_agent_master.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Start mysql
|
## Start mysql
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user