Github user mateiz commented on the pull request:

    https://github.com/apache/spark/pull/257#issuecomment-50430334
  
    @tgravescs @NathanHowell is this patch still needed after the latest 
security changes? We moved this part out of Executor and into the code that 
launches it, so I think it now covers the executor's whole lifetime. This was 
done for a good reason in the following patch (3d0a02d):
    ```
    [WIP] SPARK-1676: Cache Hadoop UGIs by default to prevent FileSystem leak
    
    Move the doAs in Executor higher up so that we only have 1 ugi and aren't 
leaking filesystems. Fix spark on yarn to work when the cluster is running as 
user "yarn" but the clients are launched as the user and want to read/write to 
hdfs as the user. 
    ```
    So it seems like it would be inefficient to call runAs on each Spark task. 
What was the problem here?


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

Reply via email to