his code doesn't compile for me:

[error] /Users/tgraves/Documents/workspace/tgravescs-spark/yarn/stable/../common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala:63: type mismatch;
[error]  found   : Int
[error]  required: Short
[error]     FsPermission.createImmutable(Integer.parseInt("700", 8): Short)