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

dineshc 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 8e8a01d  HDDS-5197. Pass option variables to OZONE_OPTS before adding 
default GC opts (#2225)
8e8a01d is described below

commit 8e8a01dfd20899cd9dc95ab3de744b636a807ab2
Author: UENISHI Kota <[email protected]>
AuthorDate: Mon May 10 23:43:29 2021 +0900

    HDDS-5197. Pass option variables to OZONE_OPTS before adding default GC 
opts (#2225)
---
 hadoop-ozone/dist/src/shell/ozone/ozone | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-ozone/dist/src/shell/ozone/ozone 
b/hadoop-ozone/dist/src/shell/ozone/ozone
index 6b9d5c5..e644010 100755
--- a/hadoop-ozone/dist/src/shell/ozone/ozone
+++ b/hadoop-ozone/dist/src/shell/ozone/ozone
@@ -290,8 +290,6 @@ ozone_assemble_classpath
 
 ozone_add_client_opts
 
-ozone_add_default_gc_opts
-
 if [[ ${OZONE_WORKER_MODE} = true ]]; then
   ozone_worker_mode_execute "${OZONE_HOME}/bin/ozone" "${OZONE_USER_PARAMS[@]}"
   exit $?
@@ -299,5 +297,7 @@ fi
 
 ozone_subcommand_opts "${OZONE_SHELL_EXECNAME}" "${OZONE_SUBCMD}"
 
+ozone_add_default_gc_opts
+
 # everything is in globals at this point, so call the generic handler
 ozone_generic_java_subcmd_handler

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

Reply via email to