elek commented on issue #814: HDDS-1518. Use /etc/ozone for configuration 
inside docker-compose 
URL: https://github.com/apache/hadoop/pull/814#issuecomment-491745153
 
 
   Note: we create config files based on name convention: 
FILENAME_EXT_key=value will be converted to FILENAME.EXT. As CONF is a valid 
extension name (to generate spark/kafka/zookeeper conf, can't remember exactly 
which one) HADOOP_CONF_DIR should be excluded.
   
   To test:
   
    * Apply the patch
    * build the conainer with ./build.sh
    * tag it: docker tag apache/hadoop-runner:latest apache/hadoop-runner:jdk11
    * Start any of the compose based environments of ozone
   
   To double check:
   
   ```
   docker diff ozone_scm_1
   C /etc
   C /etc/hadoop
   A /etc/hadoop/log4j.properties.raw
   A /etc/hadoop/log4j2.properties
   A /etc/hadoop/log4j2.properties.raw
   A /etc/hadoop/ozone-site.xml
   A /etc/hadoop/ozone-site.xml.raw
   A /etc/hadoop/hdfs-site.xml
   A /etc/hadoop/hdfs-site.xml.raw
   A /etc/hadoop/log4j.properties
   C /opt
   A /opt/transformation.pyc
   A /data
   C /tmp
   A /tmp/hsperfdata_hadoop
   A /tmp/hsperfdata_hadoop/72
   A /tmp/librocksdbjni3381692124588853026.so
   A /tmp/hadoop-hadoop-scm.pid
   ```
   
   As you can see the etc folder is used for configuration.

----------------------------------------------------------------
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