Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14065#discussion_r72750018
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/security/CredentialUpdater.scala
 ---
    @@ -107,8 +110,16 @@ private[spark] class ExecutorDelegationTokenUpdater(
         }
       }
     
    +  private def getTimeOfNextUpdateFromFileName(credentialsPath: Path): Long 
= {
    +    val name = credentialsPath.getName
    --- End diff --
    
    IIUC credential file name is combined by 
`credentials-uuid-timestamp-integer`, uuid has `-` in it. Maybe it is safer to 
use the current way.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to