Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/3741#issuecomment-68019880
  
    @jongyoul I trust that this patch actually fixes the issue, but I'm a bit 
confused by the example you listed in your [last 
comment](https://github.com/apache/spark/pull/3741#issuecomment-67921986).  The 
behavior that you show there is unsurprising: I would only expect the username 
to hold for code that's executed inside of the block.
    
    So, I don't think the problem was that runAsSparkUser only covers code run 
inside of its block, since that seems like the design / intended behavior.


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