You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2022/08/23 16:21:00 UTC

[ozone] branch master updated: HDDS-7153. User defined override of ozone shell hardcoded values for log files (#3706)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 132bec2363 HDDS-7153. User defined override of ozone shell hardcoded values for log files (#3706)
132bec2363 is described below

commit 132bec2363b52626d9e895520b4e532af0b81c96
Author: Neil Joshi <ne...@gmail.com>
AuthorDate: Tue Aug 23 10:20:54 2022 -0600

    HDDS-7153. User defined override of ozone shell hardcoded values for log files (#3706)
---
 hadoop-ozone/dist/src/shell/ozone/ozone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/dist/src/shell/ozone/ozone b/hadoop-ozone/dist/src/shell/ozone/ozone
index 8a0d81bfa7..3b8d1dce48 100755
--- a/hadoop-ozone/dist/src/shell/ozone/ozone
+++ b/hadoop-ozone/dist/src/shell/ozone/ozone
@@ -149,7 +149,7 @@ function ozonecmd_case
     sh | shell)
       OZONE_CLASSNAME=org.apache.hadoop.ozone.shell.OzoneShell
       ozone_deprecate_envvar HDFS_OM_SH_OPTS OZONE_SH_OPTS
-      OZONE_SH_OPTS="${OZONE_SH_OPTS} -Dhadoop.log.file=ozone-shell.log -Dlog4j.configuration=file:${ozone_shell_log4j}"
+      OZONE_SH_OPTS="-Dhadoop.log.file=ozone-shell.log -Dlog4j.configuration=file:${ozone_shell_log4j} ${OZONE_SH_OPTS}"
       OZONE_RUN_ARTIFACT_NAME="ozone-tools"
     ;;
     s3)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org