Skip to content
Snippets Groups Projects
Commit df6d8142 authored by Sean Owen's avatar Sean Owen Committed by Aaron Davidson
Browse files

SPARK-1607. HOTFIX: Fix syntax adapting Int result to Short

Sorry folks. This should make the change for SPARK-1607 compile again. Verified this time with the yarn build enabled.

Author: Sean Owen <sowen@cloudera.com>

Closes #556 from srowen/SPARK-1607.2 and squashes the following commits:

e3fe7a3 [Sean Owen] Fix syntax adapting Int result to Short
parent 8aaef5c7
No related branches found
No related tags found
No related merge requests found
...@@ -60,10 +60,10 @@ trait ClientBase extends Logging { ...@@ -60,10 +60,10 @@ trait ClientBase extends Logging {
// Staging directory is private! -> rwx-------- // Staging directory is private! -> rwx--------
val STAGING_DIR_PERMISSION: FsPermission = val STAGING_DIR_PERMISSION: FsPermission =
FsPermission.createImmutable(Integer.parseInt("700", 8): Short) FsPermission.createImmutable(Integer.parseInt("700", 8).toShort)
// App files are world-wide readable and owner writable -> rw-r--r-- // App files are world-wide readable and owner writable -> rw-r--r--
val APP_FILE_PERMISSION: FsPermission = val APP_FILE_PERMISSION: FsPermission =
FsPermission.createImmutable(Integer.parseInt("644", 8): Short) FsPermission.createImmutable(Integer.parseInt("644", 8).toShort)
// TODO(harvey): This could just go in ClientArguments. // TODO(harvey): This could just go in ClientArguments.
def validateArgs() = { def validateArgs() = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment