cxzl25 opened a new pull request #1177:
URL: https://github.com/apache/incubator-kyuubi/pull/1177


   ### _Why are the changes needed?_
   https://github.com/apache/incubator-kyuubi/issues/1176
   When `kyuubi.ha.zookeeper.acl.enabled=true`, both service and engine will 
use zookeeper acl to create znode, but engine has no keytab information and 
cannot write information to zookeeper, throwing an exception.
   
   ```java
   Caused by: org.apache.zookeeper.KeeperException$InvalidACLException: 
KeeperErrorCode = InvalidACL for /kyuubi_USER/XXXX
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:124)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:792)
        at 
org.apache.kyuubi.shade.org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:740)
   ```
   
   ### _How was this patch tested?_
   - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
   
   - [x] Add screenshots for manual tests if appropriate
   
   - [x] [Run 
test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests)
 locally before make a pull request
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to