elek commented on a change in pull request #814: HDDS-1518. Use /etc/ozone for 
configuration inside docker-compose 
URL: https://github.com/apache/hadoop/pull/814#discussion_r283514163
 
 

 ##########
 File path: Dockerfile
 ##########
 @@ -36,7 +36,9 @@ RUN chown hadoop /opt
 ADD scripts /opt/
 ADD scripts/krb5.conf /etc/
 RUN yum install -y krb5-workstation
-
+RUN mkdir -p /etc/hadoop && mkdir -p /var/log/hadoop && chmod 777 /etc/hadoop 
&& chmod 777 /var/log/hadoop
+ENV HADOOP_LOG_DIR=/var/log/hadoop
+ENV HADOOP_CONF_DIR=/etc/hadoop
 
 Review comment:
   This is a hadoop-runner image I can't write ozone. But we can introduce a 
separated apache/ozone-runner where we can use ozone names inside. (And we need 
to fix hadoop-runner anyway) 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to