Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/7966#issuecomment-128508830
> we keep the same permissions changes code that's there for now
What permission changes? The one I'm removing? That's the part I'm confused
about.
I'm removing this chmod because it breaks YARN secure mode. To use
MESOS_SANDBOX you should change the code in Utils.scala that figures out the
application's scratch directories (getConfiguredLocalDirs).
Standalone does not need this chmod in DiskBlockManager, because the
standalone cluster manager secures the app's directory (well, it should have
been doing that, but it seems that it stopped doing that at some point and so I
restored the functionality in this change).
So it sounds to me like there might be a fix needed for Mesos, but since I
have no access to a Mesos cluster for testing, please open a new bug to track
it.
---
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]