You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/02/18 12:49:13 UTC

[GitHub] [incubator-kyuubi] zhouyifan279 commented on issue #1936: [Bug] Engine token expired issue after idle for long time

zhouyifan279 commented on issue #1936:
URL: https://github.com/apache/incubator-kyuubi/issues/1936#issuecomment-1044473643


   We can send credentials  in `LaunchEngine` operation when it succeeds.
   
   Another case should be taken into consideration:
   1. kyuubi engine being idle and credentials have been expired.
   2. User created a KyuubiSession to this engine on kyuubi-server-1.
   3. Due to some reason (server restarted or server never talked to this engine),  kyuubi-server-1 has no cached credentials for this engine.
   4. Invoking `HadoopCredentialsManager#sendCredentialsIfNeeded` triggered a task to renew credentials but engine did not receive new credentials.
   5. Following SQL operation still fails due to expired credentials.
   


-- 
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: dev-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org