-
Notifications
You must be signed in to change notification settings - Fork 18
/
sync-docker.sh
executable file
·71 lines (57 loc) · 2.89 KB
/
sync-docker.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env bash
#hdfs 的基础包
rsync -vz * /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-cdh5/
rsync -avz hdfs/nn/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-nn/
rsync -avz hdfs/dn/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-dn/
rsync -avz hdfs/yarn/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-yarn/
#hbase的基础包
rsync -vz hbase/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-hbase/
rsync -avz hbase/hmaster/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-hb/
rsync -avz hbase/hregionserver/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-rs/
rsync -avz hbase/init-hive-hbase/* /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-initdb/
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-cdh5/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-nn/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-dn/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-rs/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-yarn/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
#hbase的基础包
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-hbase/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-hb/
mkdir snappy
cp * snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-rs/
cp * snappy
mkdir snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称
cd /Users/moyong/project/env-myopensource/3-tools/docker/cloud/cloud-initdb/
cp * snappy
mkdir snappy
cp Dockerfile-snappy-spark snappy/Dockerfile
sh /Users/moyong/project/env-myopensource/3-tools/docker/mygit.sh 更新项目名称