Skip to content

Commit 1c9bd24

Browse files
committed
HDDS-524. log4j is added with root to apache/hadoop:2 and apache/hadoop:3 images. Contributed by Dinesh Chitlangia.
1 parent eb740e3 commit 1c9bd24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ WORKDIR /opt
1919
RUN sudo rm -rf /opt/hadoop && wget $HADOOP_URL -O hadoop.tar.gz && tar zxf hadoop.tar.gz && rm hadoop.tar.gz && mv hadoop* hadoop && rm -rf /opt/hadoop/share/doc
2020
WORKDIR /opt/hadoop
2121
ADD log4j.properties /opt/hadoop/etc/hadoop/log4j.properties
22+
RUN sudo chown -R hadoop:users /opt/hadoop/etc/hadoop/*

0 commit comments

Comments
 (0)