You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/11/28 16:12:00 UTC

[hbase] branch branch-2 updated: HBASE-27503 Support replace in GC_OPTS for ZGC (#4892)

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

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 92265d39e58 HBASE-27503 Support replace <FILE-PATH> in GC_OPTS for ZGC (#4892)
92265d39e58 is described below

commit 92265d39e5841c3d8a10dfaf972273be472cd7ee
Author: mrzhao <im...@qq.com>
AuthorDate: Tue Nov 29 00:02:22 2022 +0800

    HBASE-27503 Support replace <FILE-PATH> in GC_OPTS for ZGC (#4892)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 7fc4d9938436052b40bd899f463f5743beff09f2)
---
 bin/hbase-daemon.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh
index 11c13eb5230..598e49c7413 100755
--- a/bin/hbase-daemon.sh
+++ b/bin/hbase-daemon.sh
@@ -171,10 +171,10 @@ export HBASE_ZNODE_FILE=$HBASE_PID_DIR/hbase-$HBASE_IDENT_STRING-$command.znode
 export HBASE_AUTOSTART_FILE=$HBASE_PID_DIR/hbase-$HBASE_IDENT_STRING-$command.autostart
 
 if [ -n "$SERVER_GC_OPTS" ]; then
-  export SERVER_GC_OPTS=${SERVER_GC_OPTS/"-Xloggc:<FILE-PATH>"/"-Xloggc:${HBASE_LOGGC}"}
+  export SERVER_GC_OPTS=${SERVER_GC_OPTS/"<FILE-PATH>"/"${HBASE_LOGGC}"}
 fi
 if [ -n "$CLIENT_GC_OPTS" ]; then
-  export CLIENT_GC_OPTS=${CLIENT_GC_OPTS/"-Xloggc:<FILE-PATH>"/"-Xloggc:${HBASE_LOGGC}"}
+  export CLIENT_GC_OPTS=${CLIENT_GC_OPTS/"<FILE-PATH>"/"${HBASE_LOGGC}"}
 fi
 
 # Set default scheduling priority