Skip to main content
mugdha
Gold ⭐️⭐️
Gold ⭐️⭐️
Mar 24, 2017 4:25 AM UTC

Hive LLAP fails with "InvalidACL for /llap-sasl/user-hive"

  • Oct 5, 2026 9:15 AM UTC
  • 4 replies
  • 8413 views
  • Translate All

This is for HDP 2.5 only. If you are seeing the same error HDP 2.6, there could be something else that has failed before this stage. Please check the full log.

 

After enabling Hive LLAP, it fails to start with:

ERROR impl.LlapZookeeperRegistryImpl: Unable to start curator PathChildrenCache. Exception: {}
org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode = InvalidACL for /llap-sasl/user-hive
at org.apache.zookeeper.KeeperException.create(KeeperException.java:121) ~[zookeeper-3.4.6.2.5.0.0-1245.jar:3.4.6-1245--1]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[zookeeper-3.4.6.2.5.0.0-1245.jar:3.4.6-1245--1]
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) ~[zookeeper-3.4.6.2.5.0.0-1245.jar:3.4.6-1245--1]
at org.apache.curator.utils.ZKPaths.mkdirs(ZKPaths.java:232) ~[curator-client-2.7.1.jar:?]
at org.apache.curator.utils.EnsurePath$InitialHelper$1.call(EnsurePath.java:148) ~[curator-client-2.7.1.jar:?]

Steps to fix:

1. /usr/hdp/current/zookeeper-server/bin/zkCli.sh -server `hostname`

2. create /llap-sasl "" sasl:hive:cdrwa,world:anyone:r

3. create /llap-sasl/user-hive "" sasl:hive:cdrwa,world:anyone:r

4. create /llap-sasl/user-hive/llap0 "" sasl:hive:cdrwa,world:anyone:r

5. create /llap-sasl/user-hive/llap0/workers "" sasl:hive:cdrwa,world:anyone:r

Note: If Kerberos is enabled:

su as zookeeper

kinit as hive

4 replies

glib_martynenko
Silver ⭐️⭐️
Apr 11, 2017 11:10 PM UTC

Hi Mugdha,

How I can raise a Kerberos ticket from zookeeper as hive?

Thank You

Translate
glib_martynenko
Silver ⭐️⭐️
Apr 11, 2017 11:21 PM UTC

I`m trying do this but get the error.

kinit -kt /etc/security/keytabs/hive.service.keytab hive/HOST_NAME@TFAYD.COM kinit: Keytab contains no suitable keys for hive/HOST_NAME@TFAYD.COM while getting initial credentials

Translate
poojan
Silver ⭐️⭐️
Oct 4, 2017 4:20 AM UTC

klist -kt /etc/security/keytabs/hive.service.keytab to find out exact principal name you need to kinit with.

Translate
sergey
Gold ⭐️
Dec 6, 2017 5:16 AM UTC

Just a note - on older versions of HDP (2.6.1 and below iirc) it is possible to receive InvalidACL at start time because the LLAP application has failed to start and thus failed to create the path entirely. So, it might be worth checking the LLAP app log if the path does not exist.

Translate