<?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 remove a node in zookeeper, forcibly ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/44078#M54890</link>
    <description>Just a correction to my typo above, the right config field for the skipACL switch is not the "Environment Advanced Configuration Snippet" but is instead is "Java Configuration Options for Zookeeper Server" in CM -&amp;gt; ZooKeeper -&amp;gt; Configuration page.</description>
    <pubDate>Thu, 18 Aug 2016 02:37:39 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2016-08-18T02:37:39Z</dc:date>
    <item>
      <title>how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8116#M54884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after disabling Kerberos the HBase Master won't start because no access to zookeeper znode /hbase/shutdown. I tried to remove it in zookeeper shell (started as user root), but no success =&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[zk: localhost:2181(CONNECTED) 3] rmr /hbase/shutdown&lt;BR /&gt;Authentication is not valid : /hbase/shutdown&lt;BR /&gt;[zk: localhost:2181(CONNECTED) 4] getAcl /hbase/shutdown&lt;BR /&gt;'sasl,'hbase&lt;BR /&gt;: cdrwa&lt;BR /&gt;[zk: localhost:2181(CONNECTED) 5]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I forcibly deltete that subtree to be able to start HBase afterwards?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in HBase Master log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2014-03-31 10:23:41,760 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: master:60000-0x4451714a72b004b Unable to get data of znode /hbase/shutdown&lt;BR /&gt;org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/shutdown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance...Gerd...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:56:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8116#M54884</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2022-09-16T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8278#M54885</link>
      <description>&lt;P&gt;Gerd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; backing out kerberos is not an automatic process currently as there can be many services using Zookeeper and it retains those ACLs which were set while kerberos was enabled. &amp;nbsp;We have developed a little java program for our customers that backs out the ACLs from ZK, but all it really does is iterate over all the znodes in /hbase and set their acls to world:anyone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can just manually do this as well. &amp;nbsp;This is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="code-java"&gt;setAcl /hbase world:anyone:cdrwa&lt;/PRE&gt;
&lt;P&gt;You would need to do that on every znode under /hbase and the master will start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Clint&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 21:54:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8278#M54885</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2014-04-01T21:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8292#M54886</link>
      <description>&lt;P&gt;Hi Clint,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks, the "world:anyone" combination was the missing fact &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite a "Authentication is not valid" message at executing the setAcl I was able to get access/delete the "shutdown" node under /hbase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;[zk: localhost:2181(CONNECTED) 4] getAcl /hbase/shutdown&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;'sasl,'hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;: cdrwa&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;[zk: localhost:2181(CONNECTED) 5] setAcl /hbase/shutdown world:anyone:cdrwa&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;Authentication is not valid : /hbase/shutdown&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;[zk: localhost:2181(CONNECTED) 6] delete /hbase/shutdown&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;[zk: localhost:2181(CONNECTED) 7] getAcl /hbase/shutdown &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1" color="#000000" face="courier new,courier"&gt;Node does not exist: /hbase/shutdown&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HBase is up and running again, that's what matters &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards....: Gerd :...&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 07:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/8292#M54886</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2014-04-02T07:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/18080#M54887</link>
      <description>&lt;P class="p1"&gt;still not able to delete&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;zk: localhost:2181(CONNECTED) 13] setAcl /hbase world:anyone:cdrwa &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Authentication is not valid : /hbase&lt;/P&gt;&lt;P class="p1"&gt;[zk: localhost:2181(CONNECTED) 14] setAcl /hbase/shutdown world:anyone:cdrwa&lt;/P&gt;&lt;P class="p1"&gt;Authentication is not valid : /hbase/shutdown&lt;/P&gt;&lt;P class="p1"&gt;zk: localhost:2181(CONNECTED) 16] rmr /hbase/shutdown&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Authentication is not valid : /hbase/shutdown&lt;/P&gt;&lt;P class="p1"&gt;[zk: localhost:2181(CONNECTED) 15] delete /hbase/shutdown&lt;/P&gt;&lt;P class="p1"&gt;Authentication is not valid : /hbase/shutdown&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 21:51:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/18080#M54887</guid>
      <dc:creator>lessc0de</dc:creator>
      <dc:date>2014-09-02T21:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/41799#M54888</link>
      <description>&lt;P&gt;I am having the same issue. I cannot sent the ACLs and also cannot delete the ACLs because they were created by the kerberized environment. Is there any way to work around this?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 16:08:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/41799#M54888</guid>
      <dc:creator>akafazov</dc:creator>
      <dc:date>2016-06-08T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/41830#M54889</link>
      <description>The simplest way is to disable ACLs in ZK, and restarting ZK.&lt;BR /&gt;&lt;BR /&gt;Append the below Java system property to CM -&amp;gt; Zookeeper -&amp;gt; Configuration -&amp;gt; "ZooKeeper Service Environment Advanced Configuration Snippet (Safety Valve)" field:&lt;BR /&gt;&lt;BR /&gt;-Dzookeeper.skipACL=true&lt;BR /&gt;&lt;BR /&gt;Save and restart ZK. Run your rmr command.&lt;BR /&gt;&lt;BR /&gt;You can revert that change back and re-restart if you want ACLs feature kept after.&lt;BR /&gt;&lt;BR /&gt;Another way is to declare a ZK superuser digest and using that whenever you face this (i.e. whenever you've lost the identity or mechanism of authentication to the ACL'd znode). This is documented at &lt;A href="http://zookeeper.apache.org/doc/r3.4.8/zookeeperAdmin.html#sc_authOptions," target="_blank"&gt;http://zookeeper.apache.org/doc/r3.4.8/zookeeperAdmin.html#sc_authOptions,&lt;/A&gt; and the option can be similarly added.</description>
      <pubDate>Thu, 09 Jun 2016 07:35:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/41830#M54889</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-09T07:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/44078#M54890</link>
      <description>Just a correction to my typo above, the right config field for the skipACL switch is not the "Environment Advanced Configuration Snippet" but is instead is "Java Configuration Options for Zookeeper Server" in CM -&amp;gt; ZooKeeper -&amp;gt; Configuration page.</description>
      <pubDate>Thu, 18 Aug 2016 02:37:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/44078#M54890</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-08-18T02:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/47785#M54891</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I had the same issue, put the&amp;nbsp;&lt;SPAN&gt;-Dzookeeper.skipACL=true option to&amp;nbsp;Java Configuration Options for Zookeeper Server restarted the Zookeeper service, but still having this error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[zk: localhost:2181(CONNECTED) 0] rmr /hbase&lt;BR /&gt;Authentication is not valid : /hbase/backup-masters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tomas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:58:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/47785#M54891</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2016-11-22T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/52111#M54892</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your option didnt work for me as well. I am facing similar issue, can you please help?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 13:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/52111#M54892</guid>
      <dc:creator>SiddeshSamarth</dc:creator>
      <dc:date>2017-03-13T13:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/52884#M54893</link>
      <description>&lt;A href="http://community.cloudera.com/t5/Cloudera-Manager-Installation/Disabling-Kerberos-on-Cloudera-EXpress-5-5-1-HBase-issue/m-p/42482/highlight/true#M7622" target="_blank"&gt;http://community.cloudera.com/t5/Cloudera-Manager-Installation/Disabling-Kerberos-on-Cloudera-EXpress-5-5-1-HBase-issue/m-p/42482/highlight/true#M7622&lt;/A&gt;. the url had a good answer with Mr Ben, i had tried by myself, it is valid.</description>
      <pubDate>Thu, 30 Mar 2017 01:09:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/52884#M54893</guid>
      <dc:creator>joyken</dc:creator>
      <dc:date>2017-03-30T01:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/54122#M54894</link>
      <description>&lt;P&gt;It should be&amp;nbsp;&lt;SPAN&gt;-Dzookeeper.skipACL=yes (Be careful not true,&lt;/SPAN&gt;&lt;STRONG&gt;yes&lt;/STRONG&gt;&lt;SPAN&gt;). And it works for me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 09:57:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/54122#M54894</guid>
      <dc:creator>ganeshkumarj</dc:creator>
      <dc:date>2017-04-26T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a node in zookeeper, forcibly ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/81084#M54895</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks alot for your support.&lt;/P&gt;&lt;P&gt;Really appreciate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to make hbase stable by adding the line mentioned by you but the only one change was reuiqred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Dzookeeper.skipACL=yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we need to give "yes" not true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It worked for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for making my cluster happpy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ayush&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 10:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-remove-a-node-in-zookeeper-forcibly/m-p/81084#M54895</guid>
      <dc:creator>Ayush</dc:creator>
      <dc:date>2018-10-13T10:54:09Z</dc:date>
    </item>
  </channel>
</rss>

