merlimat closed pull request #1800: Docker testing init script has wrong
service url
URL: https://github.com/apache/incubator-pulsar/pull/1800
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/tests/docker-images/latest-version-image/scripts/init-cluster.sh
b/tests/docker-images/latest-version-image/scripts/init-cluster.sh
index d70e257c8c..24aa0a3959 100755
--- a/tests/docker-images/latest-version-image/scripts/init-cluster.sh
+++ b/tests/docker-images/latest-version-image/scripts/init-cluster.sh
@@ -18,6 +18,8 @@
# under the License.
#
+set -x
+
ZNODE="/initialized"
bin/watch-znode.py -z $zkServers -p / -w
@@ -28,7 +30,7 @@ if [ $? != 0 ]; then
bin/apply-config-from-env.py conf/bookkeeper.conf &&
bin/pulsar initialize-cluster-metadata --cluster $cluster --zookeeper
$zkServers \
--configuration-store $configurationStore --web-service-url
http://$pulsarNode:8080/ \
- --broker-service-url http://$pulsarNode:6650/ &&
+ --broker-service-url pulsar://$pulsarNode:6650/ &&
bin/watch-znode.py -z $zkServers -p $ZNODE -c
echo Initialized
else
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services