Skip to content

Commit

Permalink
fix environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Jun 4, 2024
1 parent 34dfb19 commit 43af8fe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hadoop/datanode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/cdis/hadoop-base:v3.3.0

HEALTHCHECK CMD curl -f http://localhost:9864/ || exit 1

ENV HDFS_CONF_dfs_datanode_data_dir=hdfs://namenode:9000/hadoop/hdfs/data/dfs/datanode
ENV HDFS_CONF_dfs_datanode_data_dir=file:///hadoop/hdfs/data/dfs/datanode
RUN mkdir -p /hadoop/dfs/data
VOLUME /hadoop/dfs/data

Expand Down
2 changes: 1 addition & 1 deletion hadoop/historyserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/cdis/hadoop-base:v3.3.0

HEALTHCHECK CMD curl -f http://localhost:9870/ || exit 1

ENV HDFS_CONF_dfs_namenode_name_dir=hdfs://namenode:9000/hadoop/dfs/name
ENV HDFS_CONF_dfs_namenode_name_dir=file:///hadoop/dfs/name
RUN mkdir -p /hadoop/dfs/name
VOLUME /hadoop/dfs/name

Expand Down
2 changes: 1 addition & 1 deletion hadoop/namenode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/cdis/hadoop-base:v3.3.0

HEALTHCHECK CMD curl -f http://localhost:9870/ || exit 1

ENV HDFS_CONF_dfs_namenode_name_dir=hdfs://namenode:9000/hadoop/dfs/name
ENV HDFS_CONF_dfs_namenode_name_dir=file:///hadoop/dfs/name
RUN mkdir -p /hadoop/dfs/name
VOLUME /hadoop/dfs/name

Expand Down
2 changes: 1 addition & 1 deletion hadoop/nodemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/cdis/hadoop-base:v3.3.0

HEALTHCHECK CMD curl -f http://localhost:9864/ || exit 1

ENV HDFS_CONF_dfs_datanode_data_dir=hdfs://namenode:9000/hadoop/dfs/data
ENV HDFS_CONF_dfs_datanode_data_dir=file:///hadoop/dfs/data
RUN mkdir -p /hadoop/dfs/data
VOLUME /hadoop/dfs/data

Expand Down
2 changes: 1 addition & 1 deletion hadoop/resourcemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/cdis/hadoop-base:v3.3.0

HEALTHCHECK CMD curl -f http://localhost:9864/ || exit 1

ENV HDFS_CONF_dfs_datanode_data_dir=hdfs://namenode:9000/hadoop/hadoop/dfs/data
ENV HDFS_CONF_dfs_datanode_data_dir=file:///hadoop/dfs/data
RUN mkdir -p /hadoop/dfs/data
VOLUME /hadoop/dfs/data

Expand Down

0 comments on commit 43af8fe

Please sign in to comment.