zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Han <h...@apache.org>
Subject Re: can we deprecated myid file?
Date Thu, 19 Jul 2018 04:16:33 GMT
I don't think myid has any special usage aside from providing a stable
identifier - see some history here:
https://markmail.org/message/cvzz3tq3gievicqe

I suggest create a JIRA to make a proposal if there are better approaches.

On Wed, Jul 18, 2018 at 12:02 AM, 岭秀 <maoling199210191@sina.com> wrote:

> Hi zk guys:
> maoling
> Beijing,China
>
> When use zk in distributional model,we need to touch a myid file in
> dataDir.then write a unique number to it.It is inconvenient and not
> user-friendly, it has a special usage which I don't know?Look at an example
> from other distribution system such as kafka:it just uses  broker.id=0 in
> the server.properties to indentify a unique server nodecan we abandon the
> myid file and use a new property such as server.id=0 in the zoo.cfg- is
> it doable?- if it is doable,we use this feature in the latest branch or
> keep it downward compatibility?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message