masters file only needed when using start-cluster.sh script?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

masters file only needed when using start-cluster.sh script?

David Corley
The HA documentation is a little confusing in that it suggests JM registration and discovery is done via Zookeeper, but it also recommends creating a static `masters` file listing all JMs.
The only use I can currently see for the masters file is by the `start-cluster.sh` script.
Thus, if we're not using that script, do we need the masters file at all?
Reply | Threaded
Open this post in threaded view
|

Re: masters file only needed when using start-cluster.sh script?

Gary Yao-2
Hi David,

You are right. If you don't use start-cluster.sh, the conf/masters file is not
needed.

Best,
Gary

On Wed, Apr 18, 2018 at 8:25 AM, David Corley <[hidden email]> wrote:
The HA documentation is a little confusing in that it suggests JM registration and discovery is done via Zookeeper, but it also recommends creating a static `masters` file listing all JMs.
The only use I can currently see for the masters file is by the `start-cluster.sh` script.
Thus, if we're not using that script, do we need the masters file at all?

Reply | Threaded
Open this post in threaded view
|

Re: masters file only needed when using start-cluster.sh script?

David Corley
Great! Thanks Gary

On 20 April 2018 at 08:22, Gary Yao <[hidden email]> wrote:
Hi David,

You are right. If you don't use start-cluster.sh, the conf/masters file is not
needed.

Best,
Gary


On Wed, Apr 18, 2018 at 8:25 AM, David Corley <[hidden email]> wrote:
The HA documentation is a little confusing in that it suggests JM registration and discovery is done via Zookeeper, but it also recommends creating a static `masters` file listing all JMs.
The only use I can currently see for the masters file is by the `start-cluster.sh` script.
Thus, if we're not using that script, do we need the masters file at all?