Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to support hadoop 3.3.3 #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
data/

.idea/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build:
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} bde2020/hadoop-base:$(current_branch) hdfs dfs -copyFromLocal -f /opt/hadoop-3.3.3/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
Expand Down
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -O https://dist.apache.org/repos/dist/release/hadoop/common/KEYS

RUN gpg --import KEYS

ENV HADOOP_VERSION 3.2.1
ENV HADOOP_VERSION 3.3.3
ENV HADOOP_URL https://www.apache.org/dist/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz

RUN set -x \
Expand Down
2 changes: 1 addition & 1 deletion datanode/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down
10 changes: 5 additions & 5 deletions docker-compose-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
namenode:
image: bde2020/hadoop-namenode:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-namenode:2.0.0-hadoop3.3.3-java8
networks:
- hbase
volumes:
Expand All @@ -24,7 +24,7 @@ services:
traefik.port: 50070

datanode:
image: bde2020/hadoop-datanode:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-datanode:2.0.0-hadoop3.3.3-java8
networks:
- hbase
volumes:
Expand All @@ -42,7 +42,7 @@ services:
traefik.port: 50075

resourcemanager:
image: bde2020/hadoop-resourcemanager:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-resourcemanager:2.0.0-hadoop3.3.3-java8
networks:
- hbase
environment:
Expand All @@ -64,7 +64,7 @@ services:
disable: true

nodemanager:
image: bde2020/hadoop-nodemanager:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-nodemanager:2.0.0-hadoop3.3.3-java8
networks:
- hbase
environment:
Expand All @@ -80,7 +80,7 @@ services:
traefik.port: 8042

historyserver:
image: bde2020/hadoop-historyserver:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-historyserver:2.0.0-hadoop3.3.3-java8
networks:
- hbase
volumes:
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
namenode:
image: bde2020/hadoop-namenode:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-namenode:2.0.0-hadoop3.3.3-java8
container_name: namenode
restart: always
ports:
Expand All @@ -16,7 +16,7 @@ services:
- ./hadoop.env

datanode:
image: bde2020/hadoop-datanode:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-datanode:2.0.0-hadoop3.3.3-java8
container_name: datanode
restart: always
volumes:
Expand All @@ -27,7 +27,7 @@ services:
- ./hadoop.env

resourcemanager:
image: bde2020/hadoop-resourcemanager:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-resourcemanager:2.0.0-hadoop3.3.3-java8
container_name: resourcemanager
restart: always
environment:
Expand All @@ -36,7 +36,7 @@ services:
- ./hadoop.env

nodemanager1:
image: bde2020/hadoop-nodemanager:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-nodemanager:2.0.0-hadoop3.3.3-java8
container_name: nodemanager
restart: always
environment:
Expand All @@ -45,7 +45,7 @@ services:
- ./hadoop.env

historyserver:
image: bde2020/hadoop-historyserver:2.0.0-hadoop3.2.1-java8
image: bde2020/hadoop-historyserver:2.0.0-hadoop3.3.3-java8
container_name: historyserver
restart: always
environment:
Expand Down
6 changes: 3 additions & 3 deletions hadoop.env
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ MAPRED_CONF_mapreduce_map_memory_mb=4096
MAPRED_CONF_mapreduce_reduce_memory_mb=8192
MAPRED_CONF_mapreduce_map_java_opts=-Xmx3072m
MAPRED_CONF_mapreduce_reduce_java_opts=-Xmx6144m
MAPRED_CONF_yarn_app_mapreduce_am_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.2.1/
MAPRED_CONF_mapreduce_map_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.2.1/
MAPRED_CONF_mapreduce_reduce_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.2.1/
MAPRED_CONF_yarn_app_mapreduce_am_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.3.3/
MAPRED_CONF_mapreduce_map_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.3.3/
MAPRED_CONF_mapreduce_reduce_env=HADOOP_MAPRED_HOME=/opt/hadoop-3.3.3/
2 changes: 1 addition & 1 deletion historyserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion namenode/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion nodemanager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion resourcemanager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion submit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
FROM bde2020/hadoop-base:2.0.0-hadoop3.3.3-java8

MAINTAINER Ivan Ermilov <[email protected]>

Expand Down