Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

zookeeper server weigth

zookeeper server weigth

New Contributor

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?

1 REPLY 1

Re: zookeeper server weigth

New Contributor

Now I see that editing file

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

wasn't smart move:)