From af82a1d7841d917ba816b84646883e6a739ef63a Mon Sep 17 00:00:00 2001 From: DrakopoulosAj Date: Fri, 12 Jun 2020 18:46:15 +0000 Subject: [PATCH] Delete 'Makefile' --- Makefile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index da7cb7d..0000000 --- a/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -DOCKER_NETWORK = docker-hadoop_default -ENV_FILE = hadoop.env -current_branch := $(shell git rev-parse --abbrev-ref HEAD) -build: - docker build -t bde2020/hadoop-base:$(current_branch) ./base - docker build -t bde2020/hadoop-namenode:$(current_branch) ./namenode - docker build -t bde2020/hadoop-datanode:$(current_branch) ./datanode - docker build -t bde2020/hadoop-resourcemanager:$(current_branch) ./resourcemanager - docker build -t bde2020/hadoop-nodemanager:$(current_branch) ./nodemanager - docker build -t bde2020/hadoop-historyserver:$(current_branch) ./historyserver - docker build -t bde2020/hadoop-submit:$(current_branch) ./submit - -wordcount: - docker build -t hadoop-wordcount ./submit - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} bde2020/hadoop-base:$(current_branch) hdfs dfs -mkdir -p /input/ - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} bde2020/hadoop-base:$(current_branch) hdfs dfs -copyFromLocal -f /opt/hadoop-3.2.1/README.txt /input/ - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} hadoop-wordcount - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} bde2020/hadoop-base:$(current_branch) hdfs dfs -cat /output/* - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} bde2020/hadoop-base:$(current_branch) hdfs dfs -rm -r /output - docker run --network ${DOCKER_NETWORK} --env-file ${ENV_FILE} bde2020/hadoop-base:$(current_branch) hdfs dfs -rm -r /input