Github user growse commented on the pull request:
https://github.com/apache/spark/pull/4509#issuecomment-73766862
@andrewor14 - No problem. I don't think there's such a problem with
`createTempDir`, as I don't believe there's any requirement for files created
under this to be read by any other process other than the container / executor.
I've tested this patch on 1.2 against a CDH5.1.3 cluster and have verified that
it's fixed in that case.
@vanzin - Sounds good. The main point is that doing any form of permission
setting in a YARN context breaks the functionality provided by the parent dir's
setgid flag, as it sets the gid of the file to that of the container, rather
than that of the nodemanager as it should. If there's a better solution to
isolating the YARN case and not setting permissions, we should probably do that
instead.
---
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]