dachn opened a new issue, #5067:
URL: https://github.com/apache/kyuubi/issues/5067

   ### 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/kyuubi/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Describe the bug
   
   **ENV**
   have kyuubi (1.7),spark(3.2) ,ranger(2.4.0)
   
   **problems:**
   when create temporary view using kudu, found user change to yarn and 
permission denied.
   
   **operations**
   
   (1) select * from test.impala_log order by event_time desc limit 30;
    i query some data from hdfs with user(root),everything is fine, and i found 
my user is root from ranger like:
   
![image](https://github.com/apache/kyuubi/assets/46547576/9662c0eb-3ae4-46ac-9b8d-4cf9e72f22e8)
   
   (2) CREATE or REPLACE TEMPORARY VIEW test_view_kudu USING kudu options 
(kudu.master "***", kudu.table "test__verify");
   i create temporary view using kudu table,i got permission denied, I found 
the user change to yarn from ranger
   
![image](https://github.com/apache/kyuubi/assets/46547576/44748f40-7265-4853-a67f-4618cea8cf76)
   
   (3) and run the (2) same sql in spark-sql, i got no error, and i found  the 
user still root(the user execute the sparksql script) from ranger
   
   
![image](https://github.com/apache/kyuubi/assets/46547576/076a89a7-5bb1-477a-b847-e0e00b3045ff)
   
   
   
   ### Affects Version(s)
   
   master 1.7
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to fix.
   - [ ] No. I cannot submit a PR at this time.


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