You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/05/22 15:50:29 UTC
[incubator-pulsar] branch master updated: Docker testing init
script has wrong service url (#1800)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new e98d50a Docker testing init script has wrong service url (#1800)
e98d50a is described below
commit e98d50a8cde2fcd0bfc28f2552e35798a1073c81
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Tue May 22 17:50:26 2018 +0200
Docker testing init script has wrong service url (#1800)
The script was initializing the broker server url with a http url,
using the binary protocol port. This patch fixes that and also logs
the bash commands to make this easier to debug in future.
---
tests/docker-images/latest-version-image/scripts/init-cluster.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 d70e257..24aa0a3 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
--
To stop receiving notification emails like this one, please contact
mmerli@apache.org.