<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to change zookeeper parameter non-managed by ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240681#M85598</link>
    <description>&lt;P&gt;The change with vim zoo.cfg and restart zookeeper manually doesn't help as long as we restart  zookeeper from ambari&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 17:23:32 GMT</pubDate>
    <dc:creator>lamri9</dc:creator>
    <dc:date>2018-12-20T17:23:32Z</dc:date>
    <item>
      <title>How to change zookeeper parameter non-managed by ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240677#M85594</link>
      <description>&lt;P&gt;In order to add zookeeper observer in my Zookeeper observer, I need to make append the line "server.4=hostname:2888:3888" by ":observer" in configuration file zoo.cfg . However, this parameter is not managed by ambari.
I tried to use the ambari script but not display all parameter &lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-server/resources/scripts/configs.py --user=admin --password=admin--port=8080 --action=get --host=hostnamexx--cluster=CLUSTPOC--config-type=zoo.cfg --file=/tmp/zooConf.json &lt;/PRE&gt;&lt;P&gt;How to change this line&lt;/P&gt;&lt;PRE&gt;server.4=hostname:2888:3888 &lt;/PRE&gt;&lt;P&gt;to &lt;/P&gt;&lt;PRE&gt;server.4=hostname:2888:3888:observer&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Dec 2018 00:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240677#M85594</guid>
      <dc:creator>lamri9</dc:creator>
      <dc:date>2018-12-19T00:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change zookeeper parameter non-managed by ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240678#M85595</link>
      <description>&lt;P&gt;
	Hi &lt;A rel="user" href="https://community.cloudera.com/users/93190/lamri9.html" nodeid="93190"&gt;@lam rab &lt;/A&gt; ,
&lt;/P&gt;
&lt;P&gt;
	If ambari is not managing zoo.cfg you cannot change it via configs.py also as configs.py do the same thing ambari does in web UI .why dont you mannually ssh to zeppelin host and
&lt;/P&gt;
&lt;PRE&gt;
[root@asnaik4 conf]# cd /usr/hdp/current/zookeeper-server/conf
[root@asnaik4 conf]#vi zoo.cfg
&lt;/PRE&gt;
&lt;P&gt;
	If ambari is not managing a config file , the script also cannot help
&lt;/P&gt;
&lt;P style="color:green"&gt;
	&lt;STRONG&gt;Please accept this answer if it helps you.&lt;/STRONG&gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 00:14:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240678#M85595</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-19T00:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change zookeeper parameter non-managed by ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240679#M85596</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for you reply, but when I modify via vim zoo.cfg, the config removed when I restart the Zookeeper service.&lt;/P&gt;&lt;P&gt;configs.py or APIs cannot help as you see, they get only the parameters managed by Ambari.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 00:36:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240679#M85596</guid>
      <dc:creator>lamri9</dc:creator>
      <dc:date>2018-12-19T00:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change zookeeper parameter non-managed by ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240680#M85597</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/93190/lamri9.html" nodeid="93190"&gt;@lam rab&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately ambari doesnt allow you add observers in the zoo.cfg.&lt;/P&gt;&lt;P&gt;You can refer to : &lt;A href="https://issues.apache.org/jira/browse/AMBARI-24748" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-24748&lt;/A&gt;&lt;/P&gt;&lt;P&gt;here user is facing the same issue that you are facing.&lt;/P&gt;&lt;P&gt;See if you can manually start zookeeper after changing the zoo.cfg which might help you. &lt;/P&gt;&lt;P&gt;Please accept this answer if this helped you.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 00:48:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240680#M85597</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-19T00:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change zookeeper parameter non-managed by ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240681#M85598</link>
      <description>&lt;P&gt;The change with vim zoo.cfg and restart zookeeper manually doesn't help as long as we restart  zookeeper from ambari&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 17:23:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-zookeeper-parameter-non-managed-by-ambari/m-p/240681#M85598</guid>
      <dc:creator>lamri9</dc:creator>
      <dc:date>2018-12-20T17:23:32Z</dc:date>
    </item>
  </channel>
</rss>

