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

    https://github.com/apache/spark/pull/17335#discussion_r106828435
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala 
---
    @@ -353,6 +354,25 @@ class SparkHadoopUtil extends Logging {
         }
         buffer.toString
       }
    +
    +  /**
    +   * Run some code as the real logged in user (which may differ from the 
current user, for
    +   * example, when using proxying).
    +   */
    +  private[spark] def doAsRealUser[T](fn: => T): T = {
    +    val currentUser = UserGroupInformation.getCurrentUser()
    --- End diff --
    
    I see. Let me take a try. But I'm guessing this is the only place where the 
issue can be handled from Spark side.


---
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]

Reply via email to