<?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 delete an acl in zookeeper in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-delete-an-acl-in-zookeeper/m-p/292441#M216102</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21997"&gt;@desind&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tweaked it a little bit it should work in Cloudera&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Go to Cloudera zookeeper server home&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# cd $CDH_HOME/zookeeper-server&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Run below command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -cp "./zookeeper.jar:lib/slf4j-api-1.6.1.jar" org.apache.zookeeper.server.auth.DigestAuthenticationProvider super:password&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The output should look like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See &amp;lt;a href="&amp;lt;a href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&amp;gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&amp;lt;/a&amp;gt;" target="_blank"&amp;gt;&amp;lt;a href="http://www.slf4j.org/codes.html#StaticLoggerBinder&amp;lt;/a" target="_blank"&amp;gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&amp;lt;/a&amp;lt;/a&amp;gt;&amp;gt; for further details.
super:password-&amp;gt;super:DyNYQEQvajljsxlhf5uS4PJ9R28=&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Copy the&lt;STRONG&gt; super:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;DyNYQEQvajljsxlhf5uS4PJ9R28&lt;/STRONG&gt;=&amp;nbsp; text and login to Cloudera Manager and goto zookeeper config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Add below to &lt;STRONG&gt;zookeeper-env template&lt;/STRONG&gt; config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;export SERVER_JVMFLAGS="$SERVER_JVMFLAGS -Dzookeeper.DigestAuthenticationProvider.superDigest=super:DyNYQEQvajljsxlhf5uS4PJ9R28="&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Save and Restart Zookeeper and l&lt;/SPAN&gt;&lt;SPAN&gt;aunch zookeeper shell on CDH cli&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# . /bin/zkCli.sh -server your_server.com&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;addauth as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now to removing&amp;nbsp; the ACL should work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now try to delete an ACL in zookeeper this should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;addauth digest super:password&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't have a CDH sandbox&amp;nbsp; so you might have to adjust some cmds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2020 16:26:04 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2020-03-24T16:26:04Z</dc:date>
  </channel>
</rss>

