[ 
https://issues.apache.org/jira/browse/HIVE-15828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854970#comment-15854970
 ] 

Sergey Shelukhin commented on HIVE-15828:
-----------------------------------------

Hmm.. that can only be done if you know what ACL it should have, which may not 
be known in a general case in an R/O registry (since the standard acl is write 
hive only, read world, so status could be running under any user not related to 
LLAP user)

> LLAP: Create root path of znode in init/start of registry service
> -----------------------------------------------------------------
>
>                 Key: HIVE-15828
>                 URL: https://issues.apache.org/jira/browse/HIVE-15828
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 2.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>
> When there are no llap daemons running, if getInstances() in registry service 
> is invoked this can result in InvalidACLException since no daemons created 
> zpath yet. The root path will not exist when instance cache populates entries 
> under root path. If the root path creation is moved to init/start then 
> getInstances() can return empty instead of failing with exception. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to