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

    https://github.com/apache/spark/pull/22624#discussion_r229081942
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
 ---
    @@ -230,7 +242,7 @@ class CoarseGrainedSchedulerBackend(scheduler: 
TaskSchedulerImpl, val rpcEnv: Rp
             val reply = SparkAppConfig(
               sparkProperties,
               SparkEnv.get.securityManager.getIOEncryptionKey(),
    -          fetchHadoopDelegationTokens())
    +          Option(delegationTokens.get()))
    --- End diff --
    
    >  But I was a bit hazy on what happens after that
    
    The RPC layer is basically a message queue. So first message to be sent = 
first message to be processed.
    
    But as I said, I'll clean this up since now the code is all in 
`CoarseGrainedSchedulerBackend` and that makes it easier.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to