You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2025/01/07 01:45:10 UTC
(cloudberry) 07/10: using TRUSTED_SHELL in gpcreateseg.sh (#15269)
This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 3b2274fd3d908794c6ade2e3a2c43587342f7be1
Author: RMT <d....@outlook.com>
AuthorDate: Tue Apr 4 16:49:45 2023 +0800
using TRUSTED_SHELL in gpcreateseg.sh (#15269)
Use TRUSTED_SHELL in configuration file when gpinitsystem.
---
gpMgmt/bin/gpinitsystem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gpMgmt/bin/gpinitsystem b/gpMgmt/bin/gpinitsystem
index 715b35dbff..394504cd79 100755
--- a/gpMgmt/bin/gpinitsystem
+++ b/gpMgmt/bin/gpinitsystem
@@ -1466,7 +1466,7 @@ CREATE_SEGMENT () {
# SEGMENT_INFO: ~ separated value, ex: host1~port1~data_dir~dbid1~contentid
# PAIR_SEGMENT_INFO: corresponding pair, ex: host2~port2~data_dir~dbid2~contentid
# INST_COUNT: Number of parallel script count
- COORDINATOR_HOSTNAME=${COORDINATOR_HOSTNAME} HBA_HOSTNAMES=${HBA_HOSTNAMES} $GPCREATESEG $FLAG $$ $PREFERRED_ROLE $SEGMENT_INFO "${PAIR_SEGMENT_INFO}" $INST_COUNT $LOG_FILE $HEAP_CHECKSUM \
+ COORDINATOR_HOSTNAME=${COORDINATOR_HOSTNAME} HBA_HOSTNAMES=${HBA_HOSTNAMES} TRUSTED_SHELL=${TRUSTED_SHELL} $GPCREATESEG $FLAG $$ $PREFERRED_ROLE $SEGMENT_INFO "${PAIR_SEGMENT_INFO}" $INST_COUNT $LOG_FILE $HEAP_CHECKSUM \
`$ECHO ${COORDINATOR_IP_ADDRESS[@]}|$TR ' ' '~'` \
`$ECHO ${STANDBY_IP_ADDRESS[@]}|$TR ' ' '~'` &
PARALLEL_COUNT $BATCH_LIMIT $BATCH_DEFAULT
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org