Skip to content

Commit b656269

Browse files
authored
Fix a tiny bitrot in cloud.sh with command script params (#3638)
1 parent c3392f5 commit b656269

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dev-tools/scripts/cloud.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# that not using the embedded zookeeper is key to being able
6060
# switch between testing setups and to test vs alternate versions
6161
# of zookeeper if desired.
62-
#
62+
#
6363
# An option is:
6464
# docker run --name my-zookeeper -p 2181:2181 -d zookeeper
6565
#
@@ -315,7 +315,7 @@ start(){
315315
echo "SOLR=$SOLR"
316316
# Create the root if it doesn't already exist
317317
${SOLR}/bin/solr zk mkroot "/solr_${SAFE_DEST}" -z localhost:${ZK_PORT}
318-
318+
319319
ACTUAL_NUM_NODES=$(ls -1 -d ${CLUSTER_WD}/n* | wc -l )
320320
if [[ "$NUM_NODES" -eq 0 ]]; then
321321
NUM_NODES=${ACTUAL_NUM_NODES}
@@ -334,8 +334,8 @@ start(){
334334
echo "Final NUM_NODES is $NUM_NODES"
335335
for i in `seq 1 $NUM_NODES`; do
336336
mkdir -p "${CLUSTER_WD}/n${i}"
337-
argsArray=(-c --solr-home $CLUSTER_WD_FULL/n${i} -z localhost:${ZK_PORT}/solr_${SAFE_DEST} -p 898${i} -m $MEMORY \
338-
-a "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=500${i} \
337+
argsArray=(--solr-home $CLUSTER_WD_FULL/n${i} -z localhost:${ZK_PORT}/solr_${SAFE_DEST} -p 898${i} -m $MEMORY \
338+
--jvm-opts "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=500${i} \
339339
-Dsolr.logs.dir=$CLUSTER_WD_FULL/n${i} $JVM_ARGS")
340340
FINAL_COMMAND="${SOLR}/bin/solr ${argsArray[@]}"
341341
echo ${FINAL_COMMAND}

0 commit comments

Comments
 (0)