You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2017/03/23 14:12:07 UTC

flink git commit: [hotfix][scripts] Fix zookeeper quorum regex

Repository: flink
Updated Branches:
  refs/heads/master 83b99f8a6 -> 3e860b407


[hotfix][scripts] Fix zookeeper quorum regex


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3e860b40
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3e860b40
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3e860b40

Branch: refs/heads/master
Commit: 3e860b40761b27904edecb981aa7a29bc1e89aec
Parents: 83b99f8
Author: Robert Metzger <rm...@apache.org>
Authored: Thu Mar 23 15:11:57 2017 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Thu Mar 23 15:11:57 2017 +0100

----------------------------------------------------------------------
 flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/3e860b40/flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
----------------------------------------------------------------------
diff --git a/flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh b/flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
index 67d5349..05a5208 100755
--- a/flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
+++ b/flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
@@ -35,7 +35,7 @@ while read server ; do
     server=$(echo -e "${server}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') # trim
 
     # match server.id=address[:port[:port]]
-    if [[ $server =~ ^server\.([0-9])+[[:space:]]*\=([^: \#]+) ]]; then
+    if [[ $server =~ ^server\.([0-9]+)[[:space:]]*\=([^: \#]+) ]]; then
         id=${BASH_REMATCH[1]}
         address=${BASH_REMATCH[2]}