Repository: hadoop
Updated Branches:
  refs/heads/docker-hadoop-3 eb740e3e3 -> 1c9bd2475


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/1c9bd247
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1c9bd247
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1c9bd247

Branch: refs/heads/docker-hadoop-3
Commit: 1c9bd24755cb575684be59b998799e5b99e9cbb0
Parents: eb740e3
Author: Márton Elek <[email protected]>
Authored: Mon Nov 5 15:34:06 2018 +0100
Committer: Márton Elek <[email protected]>
Committed: Mon Nov 5 15:34:06 2018 +0100

----------------------------------------------------------------------
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1c9bd247/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
index b4c56b8..044fe72 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]

Reply via email to