Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/7069#discussion_r33498897 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala --- @@ -334,6 +334,17 @@ class SparkHadoopUtil extends Logging { * Stop the thread that does the delegation token updates. */ private[spark] def stopExecutorDelegationTokenRenewer() {} + + /** + * Disable the hadoop fs cache mechanism, otherwise DFSClient will use old token to connect nn. --- End diff -- also this java doc doesn't really describe what this method does. You need something like: ``` Return a fresh Hadoop configuration, bypassing the HDFS cache mechanism. This is to prevent the DFSClient from using an old cached token to connect to the NameNode. ```
--- 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