Skip to content

Apache Lucene open-source search software

fix cloud dev example scripts which point to solr/conf - use boostrap_conf=true instead

Mark Robert Millerccf5f45f2e76
diff --git a/solr/cloud-dev/example1.sh b/solr/cloud-dev/example1.sh
index 6ba2c773fd7..3d454b439ed 100644
--- a/solr/cloud-dev/example1.sh
+++ b/solr/cloud-dev/example1.sh
@@ -15,7 +15,7 @@ cp -r -f example example2
cd example
-java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_confdir=solr/conf -jar start.jar 1>example.log 2>&1 &
+java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_conf=true -jar start.jar 1>example.log 2>&1 &
sleep 10
diff --git a/solr/cloud-dev/example2.sh b/solr/cloud-dev/example2.sh
index 0fa955d94eb..0ba9cc54e88 100644
--- a/solr/cloud-dev/example2.sh
+++ b/solr/cloud-dev/example2.sh
@@ -19,8 +19,9 @@ cp -r -f example example4
cd example
-java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_confdir=solr/conf -jar start.jar 1>example.log 2>&1 &
+java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_conf=true -jar start.jar 1>example.log 2>&1 &
+# wait for config to go up
sleep 10
cd ../example2
diff --git a/solr/cloud-dev/example3.sh b/solr/cloud-dev/example3.sh
index 9be025b64f9..77253243879 100644
--- a/solr/cloud-dev/example3.sh
+++ b/solr/cloud-dev/example3.sh
@@ -19,10 +19,10 @@ cp -r -f example example4
cd example
-java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_confdir=solr/conf -DzkHost=localhost:9983,localhost:14574,localhost:14585 -jar start.jar 1>example.log 2>&1 &
+java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_conf=true -DzkHost=localhost:9983,localhost:14574,localhost:14585 -jar start.jar 1>example.log 2>&1 &
cd ../example2
-java -Djetty.port=13574 -DzkRun -DzkHost=localhost:9983,localhost:14574,localhost:14575 -DSTOP.PORT=6574 -DSTOP.KEY=key -jar start.jar 1>example2.log 2>&1 &
+java -Djetty.port=13574 -DzkRun -DzkHost=localhost:9983,localhost:14574,localhost:14585 -DSTOP.PORT=6574 -DSTOP.KEY=key -jar start.jar 1>example2.log 2>&1 &
cd ../example3
java -Djetty.port=13585 -DzkRun -DzkHost=localhost:9983,localhost:14574,localhost:14585 -DSTOP.PORT=6575 -DSTOP.KEY=key -jar start.jar 1>example3.log 2>&1 &