A PR and review may have noted that the same regex is in stop-zookeeper-quorum.sh and recommended ignoring whitespace both before and after the equals sign.
> On Mar 23, 2017, at 10:12 AM, Robert Metzger <rmetz...@apache.org> wrote: > > Thank you for verifying. Fixed in master: > http://git-wip-us.apache.org/repos/asf/flink/commit/3e860b40 > <http://git-wip-us.apache.org/repos/asf/flink/commit/3e860b40> > > On Wed, Mar 22, 2017 at 9:25 PM, <kanagaraj.vengidas...@verizon.com > <mailto:kanagaraj.vengidas...@verizon.com>> wrote: > That worked.. Thanks Chesnay, > > > > > <image001.png> <http://www.verizon.com/> > > Kanagaraj Vengidasamy > RTCI > > 7701 E Telecom PKWY > Temple Terrace, FL 33637 > > O 813.978.4372 | M 813.455.9757 > > <image002.png> <http://www.facebook.com/verizon> <image003.png> > <http://twitter.com/verizon> <image004.png> > <http://www.linkedin.com/company/verizon> > > > From: Chesnay Schepler [mailto:ches...@apache.org > <mailto:ches...@apache.org>] > Sent: Wednesday, March 22, 2017 11:23 AM > To: user@flink.apache.org <mailto:user@flink.apache.org> > Subject: Re: [E] Re: unable to add more servers in zookeeper quorum peers in > flink 1.2 > > > > I guess that's because the grouping is wrong. > > ^server\.([0-9])+[[:space:]]*\=([^: \#]+) > should probably be > > ^server\.([0-9]+)[[:space:]]*\=([^: \#]+) > Could you modify the .sh script as such and try again? > > Regards, > Chesnay > > On 22.03.2017 16:10, kanagaraj.vengidas...@verizon.com > <mailto:kanagaraj.vengidas...@verizon.com> wrote: > > Greg, > > > > Sorry about that.. when I copy the config and replaced the real server names > . I don’t have space in my configurations. The issue is when I have > server.10=, server.11= > > And tried to start the zookeeper, Myid replaced with 0 and 1 for these > servers which is conflicting with server.0 and server.1 > > > > > > Thanks > > > <image001.png> <http://www.verizon.com/> > > Kanagaraj Vengidasamy > RTCI > > 7701 E Telecom PKWY > Temple Terrace, FL 33637 > > O 813.978.4372 | M 813.455.9757 > > <image002.png> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_verizon&d=DwMD-g&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=vykaCRzOoltktnhRTDFL-6nA55ddeOEzGwp9gbKhlfRrUojHU0nRm-mt29N20zWv&m=8K9Z7ArBnvYZL6fAHHu5u1r_-ezNyqdayG6uUQ8Wpqc&s=gcE_OOjlAoAmneDnyY7lTkUL_wVW8XyzeRjhTyhbuHw&e=> > <image003.png> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_verizon&d=DwMD-g&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=vykaCRzOoltktnhRTDFL-6nA55ddeOEzGwp9gbKhlfRrUojHU0nRm-mt29N20zWv&m=8K9Z7ArBnvYZL6fAHHu5u1r_-ezNyqdayG6uUQ8Wpqc&s=tqZxl_Osm7Nl_TMH5fn6uLqMmYwzWMRmIY0a6Cv94XE&e=> > <image004.png> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_company_verizon&d=DwMD-g&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=vykaCRzOoltktnhRTDFL-6nA55ddeOEzGwp9gbKhlfRrUojHU0nRm-mt29N20zWv&m=8K9Z7ArBnvYZL6fAHHu5u1r_-ezNyqdayG6uUQ8Wpqc&s=YbbS1mTqYCQNadmBvLZ9SoaBM-myrHL3BE_dj_yp8DM&e=> > > > From: Greg Hogan [mailto:c...@greghogan.com <mailto:c...@greghogan.com>] > Sent: Wednesday, March 22, 2017 10:08 AM > To: user@flink.apache.org <mailto:user@flink.apache.org> > Subject: [E] Re: unable to add more servers in zookeeper quorum peers in > flink 1.2 > > > > Kanagaraj, > > > > None of the server lines are matching since the regex in > start-zookeeper-quorum.sh does not allow for spaces after the equals sign. > > ^server\.([0-9])+[[:space:]]*\=([^: \#]+) > > > > Greg > > > > On Mar 22, 2017, at 8:49 AM, kanagaraj.vengidas...@verizon.com > <mailto:kanagaraj.vengidas...@verizon.com> wrote: > > > > Hi All, > > > > We are using flink 1.2 . Unable to add more than one digit in server.x. > when I have more than one digit it is not allowing to start the zookeeper. > What I need to do if I want to keep more servers? > > > > # ZooKeeper quorum peers > > server.0=server1:2888:3888 > > server.1=server2:2888:3888 > > server.2=server3:2888:3888 > > server.3=server4:2888:3888 > > server.4=server5:2888:3888 > > server.5=server6:2888:3888 > > server.6=server7:2888:3888 > > server.7=server8:2888:3888 > > server.8=server9:2888:3888 > > server.9=server10:2888:3888 > > #server.10=server11:2888:3888 > > #server.11=server12:2888:3888 > > > > Thanks > > Kanagaraj > > > > > >