-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
33 lines (22 loc) · 822 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
25
26
27
28
29
30
31
32
33
.PHONY: clean
clean:
find kerberos/keytabs -name "*.keytab" -delete
.PHONY: start_hadoop
start_hadoop:
$(MAKE) start-docker-compose-service service=hadoop
.PHONY: start_hive
start_hive:
$(MAKE) start-docker-compose-service service=hive
.PHONY: start_kerberized_hadoop
start_kerberized_hadoop:
$(MAKE) start-docker-compose-service service=kerberized-hadoop
.PHONY: start_kerberized_hive
start_kerberized_hive:
$(MAKE) start-docker-compose-service service=kerberized-hive
.PHONY: start-docker-compose-service
start-docker-compose-service:
$(MAKE) stop-docker-compose-services
docker-compose --env-file .env up --build --remove-orphans --renew-anon-volumes --detach $(service)
.PHONY: stop-docker-compose-service
stop-docker-compose-services:
docker-compose --env-file .env down --remove-orphans --volumes