You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/03/27 07:34:12 UTC
[GitHub] [incubator-kyuubi] turboFei commented on a change in pull request #2222: Refactor the log when failing to get hadoop fs delegation token
turboFei commented on a change in pull request #2222:
URL: https://github.com/apache/incubator-kyuubi/pull/2222#discussion_r835865032
##########
File path: kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HadoopFsDelegationTokenProvider.scala
##########
@@ -63,19 +63,26 @@ class HadoopFsDelegationTokenProvider extends HadoopDelegationTokenProvider with
override def obtainDelegationTokens(owner: String, creds: Credentials): Unit = {
doAsProxyUser(owner) {
- val fileSystems = fsUris.map(FileSystem.get(_, hadoopConf)).toSet
+ val fileSystems = fsUris.map { uri =>
+ uri -> FileSystem.get(uri, hadoopConf)
+ }
Review comment:
thanks
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org