-
Notifications
You must be signed in to change notification settings - Fork 179
/
Makefile
24 lines (18 loc) · 902 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
traefik:
docker service create --name traefik --constraint node.hostname==akswnc4.aksw.uni-leipzig.de --publish 80:80 --publish 8080:8080 --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock --network hbase traefik --docker --docker.swarmmode --docker.domain=cluster.aksw.org --docker.watch --web --logLevel=DEBUG
network:
docker network create -d overlay --attachable hbase
zookeeper:
docker stack deploy -c docker-compose-zookeeper.yml zookeeper
zookeeper-get-stats:
docker run -it --rm --network hbase zookeeper:3.4.10 bash
# echo "stat" | nc zoo1 2181
# echo "stat" | nc zoo2 2181
# echo "stat" | nc zoo3 2181
hadoop:
docker stack deploy -c docker-compose-hadoop.yml hadoop
hbase:
docker stack deploy -c docker-compose-hbase.yml hbase
hbase-clean:
docker exec -it namenode hadoop fs -rm -r /hbase/*
docker exec -it zoo bash # bin/zkCli.sh && echo "rmr /hbase"