ulysses-you opened a new issue, #2698:
URL: https://github.com/apache/incubator-kyuubi/issues/2698

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What would you like to be improved?
   
   Kyuubi always uses the current user to do `yarnClient.killApplication`, e.g. 
hive. But if the user has no permission to do kill, the error will be thrown.
   
   ```
   Caused by: java.security.AccessControlException: User hive cannot perform 
operation MODIFY_APP on application_1649986670278_3655140
        at 
org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69) 
~[kyuubi-common_2.12-1.5.1-incubating.jar:1.5.1-incubating]
        at 
org.apache.kyuubi.engine.ProcBuilder.$anonfun$start$1(ProcBuilder.scala:165) 
~[kyuubi-server_2.12-1.5.1-incubating.jar:1.5.1-incubating]
   ```
   
   So, if the engine is created and started through proxy user, we can also use 
proxy user to do the kill action.
   
   ### How should we improve?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to