Repository: hadoop Updated Branches: refs/heads/docker-hadoop-2 5a998aa0f -> d3a7dc87b
HDDS-524. log4j is added with root to apache/hadoop:2 and apache/hadoop:3 images. Contributed by Dinesh Chitlangia. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d3a7dc87 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d3a7dc87 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d3a7dc87 Branch: refs/heads/docker-hadoop-2 Commit: d3a7dc87beef255a9b738fc6bee6174628b1d2ca Parents: 5a998aa Author: Márton Elek <[email protected]> Authored: Mon Nov 5 15:36:49 2018 +0100 Committer: Márton Elek <[email protected]> Committed: Mon Nov 5 15:36:49 2018 +0100 ---------------------------------------------------------------------- Dockerfile | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d3a7dc87/Dockerfile ---------------------------------------------------------------------- diff --git a/Dockerfile b/Dockerfile index 7d3d755..282a2ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,3 +19,4 @@ WORKDIR /opt 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 WORKDIR /opt/hadoop ADD log4j.properties /opt/hadoop/etc/hadoop/log4j.properties +RUN sudo chown -R hadoop:users /opt/hadoop/etc/hadoop/* --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
