You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2023/03/02 05:39:33 UTC

[ratis] branch master updated: RATIS-1800. Remove unused ratis-shell properties (#836)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new eafffcb04 RATIS-1800. Remove unused ratis-shell properties (#836)
eafffcb04 is described below

commit eafffcb040287d082167d8a4ae6ce18a16b6906c
Author: Angerszhuuuu <an...@gmail.com>
AuthorDate: Thu Mar 2 13:39:27 2023 +0800

    RATIS-1800. Remove unused ratis-shell properties (#836)
---
 ratis-shell/src/main/libexec/ratis-shell-config.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/ratis-shell/src/main/libexec/ratis-shell-config.sh b/ratis-shell/src/main/libexec/ratis-shell-config.sh
index f2b4f3c38..27d2ee0a1 100644
--- a/ratis-shell/src/main/libexec/ratis-shell-config.sh
+++ b/ratis-shell/src/main/libexec/ratis-shell-config.sh
@@ -71,11 +71,7 @@ done < <(find "$RATIS_SHELL_LIB_DIR" ! -type d -name '*.jar' -print0 | sort -z)
 
 RATIS_SHELL_CLIENT_CLASSPATH="${RATIS_SHELL_CONF_DIR}/:${RATIS_SHELL_CLASSPATH}:${RATIS_SHELL_ASSEMBLY_CLIENT_JAR}"
 
-if [[ -n "${RATIS_SHELL_HOME}" ]]; then
-  RATIS_SHELL_JAVA_OPTS+=" -Dratis.shell.home=${RATIS_SHELL_HOME}"
-fi
-
-RATIS_SHELL_JAVA_OPTS+=" -Dratis.shell.conf.dir=${RATIS_SHELL_CONF_DIR} -Dratis.shell.logs.dir=${RATIS_SHELL_LOGS_DIR} -Dratis.shell.user.logs.dir=${RATIS_SHELL_USER_LOGS_DIR}"
+RATIS_SHELL_JAVA_OPTS+=" -Dratis.shell.logs.dir=${RATIS_SHELL_LOGS_DIR}"
 
 RATIS_SHELL_JAVA_OPTS+=" -Dlog4j.configuration=file:${RATIS_SHELL_CONF_DIR}/log4j.properties"
 RATIS_SHELL_JAVA_OPTS+=" -Dorg.apache.jasper.compiler.disablejsr199=true"