Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/7069#discussion_r33598505
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala
---
@@ -334,6 +334,18 @@ class SparkHadoopUtil extends Logging {
* Stop the thread that does the delegation token updates.
*/
private[spark] def stopExecutorDelegationTokenRenewer() {}
+
+ /**
+ * 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.
+ */
+ private[spark]
+ def getConfBypassingFSCache(hadoopConf: Configuration, path: Path):
Configuration = {
--- End diff --
if it doesn't fit on one line:
```
private[spark] def getConfBypassingFSCache(
hadoopConf: Configuration,
scheme: String): Configuration = {
...
}
```
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]