Github user LantaoJin commented on a diff in the pull request: https://github.com/apache/spark/pull/21734#discussion_r203584220 --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnSparkHadoopUtil.scala --- @@ -193,8 +193,7 @@ object YarnSparkHadoopUtil { sparkConf: SparkConf, hadoopConf: Configuration): Set[FileSystem] = { val filesystemsToAccess = sparkConf.get(FILESYSTEMS_TO_ACCESS) - .map(new Path(_).getFileSystem(hadoopConf)) - .toSet + val isRequestAllDelegationTokens = filesystemsToAccess.isEmpty --- End diff -- @wangyum spark.yarn.access.hadoopFileSystems could be set with HA. For example: ` --conf spark.yarn.access.namenodes hdfs://cluster1-ha,hdfs://cluster2-ha` in hdfs-site.xml ` <property>` ` <name>dfs.nameservices</name>` ` <value>cluster1-ha,cluster2-ha</value>` ` </property>` ` <property>` ` <name>dfs.ha.namenodes.cluster1-ha</name>` ` <value>nn1,nn2</value>` ` </property>` ` <property>` ` <name>dfs.ha.namenodes.cluster2-ha</name>` ` <value>nn1,nn2</value>` ` </property>`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org