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 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


Verizon <http://www.verizon.com/>

Kanagaraj Vengidasamy
RTCI

7701 E Telecom PKWY
Temple Terrace, FL 33637

O 813.978.4372 | M 813.455.9757

Facebook <http://www.facebook.com/verizon>Twitter <http://twitter.com/verizon>LinkedIn <http://www.linkedin.com/company/verizon>

*From:*Greg Hogan [mailto:c...@greghogan.com]
*Sent:* Wednesday, March 22, 2017 10:08 AM
*To:* 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


Reply via email to