File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
yarn/common/src/main/scala/org/apache/spark/deploy/yarn Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ trait ClientBase extends Logging {
59
59
private val distCacheMgr = new ClientDistributedCacheManager ()
60
60
61
61
// Staging directory is private! -> rwx--------
62
- val STAGING_DIR_PERMISSION : FsPermission = FsPermission .createImmutable(0x1C0 : Short ) // 0700
62
+ val STAGING_DIR_PERMISSION : FsPermission =
63
+ FsPermission .createImmutable(Integer .parseInt(" 700" , 8 ): Short )
63
64
// App files are world-wide readable and owner writable -> rw-r--r--
64
- val APP_FILE_PERMISSION : FsPermission = FsPermission .createImmutable(0x1A4 : Short ) // 0644
65
+ val APP_FILE_PERMISSION : FsPermission =
66
+ FsPermission .createImmutable(Integer .parseInt(" 644" , 8 ): Short )
65
67
66
68
// TODO(harvey): This could just go in ClientArguments.
67
69
def validateArgs () = {
You can’t perform that action at this time.
0 commit comments