<?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 SetACL or disable ACL check ( temporarily ) on zookeeper  in Kerberized cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-SetACL-or-disable-ACL-check-temporarily-on-zookeeper/m-p/197308#M159359</link>
    <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/questions/191883/@Sriram"&gt;@Sriram&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Environment &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;HDP 2.6.2.0 &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Ambari 2.5.2.0 &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;MIT Kerberos&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;I just connected as a normal user and followed the below steps, the znode &lt;STRONG&gt;Test&lt;/STRONG&gt; was created without any issues. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I logged in as a local user without a valid Kerberos ticket&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ klist 
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_500)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Connected to ZkCli&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;$ cd /usr/hdp/current/zookeeper-server 
$ ./bin/zkCli.sh 
.......
[zk: localhost:2181(CONNECTED) 0] ls /
[hive, registry, cluster, controller, brokers, zookeeper, infra-solr, hbase-unsecure, kafka-acl, kafka-acl-changes, admin, isr_change_notification, templeton-hadoop, hiveserver2, controller_epoch, druid, rmstore, hbase-secure, ambari-metrics-cluster, consumers, config] &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Check permissions ACL's&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 1] getAcl / 
'world,'anyone
: cdrwa &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Created a Persistant znode Test &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 2] create /Test 'siram_issue'
Created /Test &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;List Znode child &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 3] ls /Test
[] &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;List Znodes &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Notice &lt;STRONG&gt;Test &lt;/STRONG&gt;is listed&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 4] ls /
[hive, registry, cluster, controller, brokers, zookeeper, infra-solr, hbase-unsecure, kafka-acl, kafka-acl-changes, admin, isr_change_notification, templeton-hadoop, hiveserver2, controller_epoch, druid, Test, rmstore, hbase-secure, ambari-metrics-cluster, consumers, config] &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Check Status &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 6] stat /Test
cZxid = 0x2997
ctime = Sat May 19 21:49:55 CEST 2018
mZxid = 0x2997
mtime = Sat May 19 21:49:55 CEST 2018
pZxid = 0x2997
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 13
numChildren = 0&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Can you share your steps that failed ?&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 20 May 2018 03:23:32 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-05-20T03:23:32Z</dc:date>
  </channel>
</rss>

