Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/7966#discussion_r36333762
--- Diff:
core/src/main/scala/org/apache/spark/storage/DiskBlockManager.scala ---
@@ -133,7 +133,6 @@ private[spark] class DiskBlockManager(blockManager:
BlockManager, conf: SparkCon
Utils.getConfiguredLocalDirs(conf).flatMap { rootDir =>
try {
val localDir = Utils.createDirectory(rootDir, "blockmgr")
- Utils.chmod700(localDir)
--- End diff --
No. The cluster manager is responsible for securing the app's directory (in
YARN, only the app owner and the YARN group can read it; in standalone, only
the user running the standalone service can; not sure about Mesos, which is why
the Mesos code might need to be fixed separately).
---
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]