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/04/04 01:18:04 UTC

[GitHub] [incubator-kyuubi] lightning-L commented on a diff in pull request #2210: [KYUUBI #1021] Expire CredentialsRef in a proper time to reduce memor…

lightning-L commented on code in PR #2210:
URL: https://github.com/apache/incubator-kyuubi/pull/2210#discussion_r841310670


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HadoopCredentialsManager.scala:
##########
@@ -239,7 +246,9 @@ class HadoopCredentialsManager private (name: String) extends AbstractService(na
         try {
           promise.trySuccess(updateCredentials(userRef))
 
-          scheduleRenewal(userRef, renewalInterval)
+          if (userCredentialsRefMap.containsKey(userRef.getAppUser)) {

Review Comment:
   @zhouyifan279
   Thanks. I will do a follow-up commit.



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