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


##########
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:
   Hive docker log was changed by https://github.com/apache/hive/pull/5638.
   @okumin Any thought if we change it back?
   
   
   > maybe change the log dir to /var/hive/log/metastore.log ?
   
   Yes, The log dir can be changed by when `export HADOOP_CLIENT_OPTS`
   
https://github.com/apache/hive/blob/5512ffda602bef605ad144f9040676149cc2c960/standalone-metastore/packaging/src/docker/entrypoint.sh#L48
   
   ```
   -export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Xmx1G $SERVICE_OPTS"
   +export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Xmx1G 
-Dmetastore.log.dir=/var/hive/log -Dmetastore.log.file=metastore.log 
$SERVICE_OPTS"
   ```
   



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