diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-08-06 15:30:27 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-08-06 15:30:27 -0700 |
commit | e234ea1b49d30bb6c8b8c001bd98c43de290dcff (patch) | |
tree | 78111769b076ed89afab4e447572daad758bed68 /build | |
parent | 3504bf3aa9f7b75c0985f04ce2944833d8c5b5bd (diff) | |
download | spark-e234ea1b49d30bb6c8b8c001bd98c43de290dcff.tar.gz spark-e234ea1b49d30bb6c8b8c001bd98c43de290dcff.tar.bz2 spark-e234ea1b49d30bb6c8b8c001bd98c43de290dcff.zip |
[SPARK-9645] [YARN] [CORE] Allow shuffle service to read shuffle files.
Spark should not mess with the permissions of directories created
by the cluster manager. Here, by setting the block manager dir
permissions to 700, the shuffle service (running as the YARN user)
wouldn't be able to serve shuffle files created by applications.
Also, the code to protect the local app dir was missing in standalone's
Worker; that has been now added. Since all processes run as the same
user in standalone, `chmod 700` should not cause problems.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #7966 from vanzin/SPARK-9645 and squashes the following commits:
6e07b31 [Marcelo Vanzin] Protect the app dir in standalone mode.
384ba6a [Marcelo Vanzin] [SPARK-9645] [yarn] [core] Allow shuffle service to read shuffle files.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions