File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments