Skip to content

Commit

Permalink
HADOOP-12100. ImmutableFsPermission should not override applyUmask si…
Browse files Browse the repository at this point in the history
…nce that method doesn't modify the FsPermission (Bibin A. Chundatt via Colin P. McCabe)

(cherry picked from commit 6e0a9f9)
  • Loading branch information
Colin Patrick Mccabe committed Jun 18, 2015
1 parent 7f62e41 commit 2946e92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions hadoop-common-project/hadoop-common/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ Release 2.7.1 - UNRELEASED
HADOOP-12078. The default retry policy does not handle RetriableException
correctly. (Arpit Agarwal)

HADOOP-12100. ImmutableFsPermission should not override applyUmask since
that method doesn't modify the FsPermission (Bibin A Chundatt via Colin P.
McCabe)

Release 2.7.0 - 2015-04-20

INCOMPATIBLE CHANGES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,10 @@ private static class ImmutableFsPermission extends FsPermission {
public ImmutableFsPermission(short permission) {
super(permission);
}
@Override
public FsPermission applyUMask(FsPermission umask) {
throw new UnsupportedOperationException();
}

@Override
public void readFields(DataInput in) throws IOException {
throw new UnsupportedOperationException();
}
}
}
}

0 comments on commit 2946e92

Please sign in to comment.