zhouyifan279 edited a comment on issue #1936: URL: https://github.com/apache/incubator-kyuubi/issues/1936#issuecomment-1044473643
We can send credentials in `LaunchEngine` operation when it succeeds. By the way, another case should also be taken into consideration if kyuubi engine will be idle longer than credentials's renewal interval: 1. User created a KyuubiSession on kyuubi-server-1 to a credentials-expired engine. 2. Due to some reason (server restarted or server never talked to this engine), kyuubi-server-1 has no cached credentials for this engine. 3. Invoking `HadoopCredentialsManager#sendCredentialsIfNeeded` triggered a task to renew credentials but engine did not receive new credentials. 4. 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
