In order for the staging directory setup code to run on Windows, I made the
following changes to the JobSubmissionFiles class:
// job submission directory is visible to group.
final public static FsPermission JOB_DIR_PERMISSION =
FsPermission.createImmutable((short) 0774); // rwxrwxr--
//job files are world-wide readable and writable by user,owner
final public static FsPermission JOB_FILE_PERMISSION =
FsPermission.createImmutable((short) 0764); // rwxrw-r--
If these changes are not incompatible with the Linux buil (i.e. if it is
acceptable to grant permissions to the group), then I will check them in to
SVN.
regards,
Patrick Toolis