Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Replace octal literals, removed in Scala 2.11, with hex literals
  • Loading branch information
srowen committed Apr 24, 2014
commit 0102f3d3898dd0ea9ecae2cfcc0757f1a510fa6c
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ trait ClientBase extends Logging {
private val distCacheMgr = new ClientDistributedCacheManager()

// Staging directory is private! -> rwx--------
val STAGING_DIR_PERMISSION: FsPermission = FsPermission.createImmutable(0700: Short)
val STAGING_DIR_PERMISSION: FsPermission = FsPermission.createImmutable(0x1C0: Short) // 0700
// App files are world-wide readable and owner writable -> rw-r--r--
val APP_FILE_PERMISSION: FsPermission = FsPermission.createImmutable(0644: Short)
val APP_FILE_PERMISSION: FsPermission = FsPermission.createImmutable(0x1A4: Short) // 0644

// TODO(harvey): This could just go in ClientArguments.
def validateArgs() = {
Expand Down