Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎01-19-2018

zookeeper server weigth

Hi!

 

I found something as zookeeper server weight.

https://zookeeper.apache.org/doc/r3.3.2/zookeeperAdmin.html

 

In zookeeper logs apprers line:

2018-02-05 11:33:02,169 INFO org.apache.zookeeper.server.quorum.QuorumPeerConfig: Reading configuration from: /run/cloudera-scm-agent/process/4096-zookeeper-server/zoo.cfg

 

So, I decide to add to file  /run/cloudera-scm-agent/process/4096-zookeeper-server/zoo.cfg

follows lines:

    weight.1=1
    weight.2=1
    weight.3=1

 

But after zookeepers restart via Cloudera Manager my changes are deleted.

 

How can I modify zookeeper's server weights?

New Contributor
Posts: 4
Registered: ‎01-19-2018

Re: zookeeper server weigth

[ Edited ]

Now I see that editing file

/run/cloudera-scm-agent/process/4096-zookeeper-server/zoo.cfg

wasn't smart move:)

Announcements