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


   ### _Why are the changes needed?_
   Hive delegation token sent from Kyuubi server is ignore by SQL engine
   
   ```
   21/09/27 14:22:39 INFO operation.ExecuteStatement: Processing morty's 
query[5711be2b-1d2f-412a-a2e0-b52a5b0e0445]: RUNNING_STATE -> FINISHED_STATE, 
statement: show databases, time taken: 0.056 seconds
   21/09/27 14:22:39 INFO spark.SparkThriftBinaryFrontendService: Ignore Hive 
token as engine has no Hive token ever before
   21/09/27 14:22:39 INFO deploy.SparkHadoopUtil: Updating delegation tokens 
for current user.
   ```
   ### _How was this patch tested?_
   - [x] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
   
   - [x] Add screenshots for manual tests if appropriate
   ```
   21/09/27 20:51:20 INFO operation.ExecuteStatement: Processing morty's 
query[652a9f74-4813-406c-a842-6fc8b61baaf1]: RUNNING_STATE -> FINISHED_STATE, 
statement: show databases, time taken: 0.05 seconds
   21/09/27 20:51:20 INFO deploy.SparkHadoopUtil: Updating delegation tokens 
for current user.
   ```
   - [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