zhangbutao commented on code in PR #5980:
URL: https://github.com/apache/hive/pull/5980#discussion_r2209752413


##########
standalone-metastore/packaging/src/docker/Dockerfile:
##########
@@ -67,15 +67,13 @@ ENV HADOOP_HOME=/opt/hadoop \
 ENV PATH=$HIVE_HOME/bin:$HADOOP_HOME/bin:$PATH
 
 COPY entrypoint.sh /
-COPY conf $HIVE_HOME/conf

Review Comment:
   Additionally, if users want to modify the `metastore-log4j2.properties` file 
before starting the HMS Docker, they can also use the local mount method. That 
is, they can use a local `metastore-log4j2.properties` file when starting the 
HMS Docker. This allows users to flexibly modify the 
`metastore-log4j2.properties`, such as changing the HMS log level or outputting 
logs to `stdout`.
   
   ```
   ls /data/hmsdocker/conf
   
   metastore-log4j2.properties
   metastore-site.xml
   ```
   
   `docker run -itd --name='hive420hms_stdout' -v 
/data/hmsdocker/conf:/opt/hive/conf apache/hive:standalone-metastore-4.1.0`



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

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to