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

    https://github.com/apache/spark/pull/19272#discussion_r150049758
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
 ---
    @@ -236,7 +234,7 @@ class CoarseGrainedSchedulerBackend(scheduler: 
TaskSchedulerImpl, val rpcEnv: Rp
             val reply = SparkAppConfig(
               sparkProperties,
               SparkEnv.get.securityManager.getIOEncryptionKey(),
    -          hadoopDelegationCreds)
    +          hadoopDelegationTokens.apply())
    --- End diff --
    
    Can't you just call `fetchHadoopDelegationTokens()` directly?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to