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

This commit is contained in:
Colin Patrick Mccabe 2015-06-18 11:30:29 -07:00
parent 1c13519e1e
commit 6e0a9f92fe
2 changed files with 6 additions and 5 deletions

View File

@ -914,6 +914,10 @@ Release 2.7.1 - UNRELEASED
HADOOP-12078. The default retry policy does not handle RetriableException HADOOP-12078. The default retry policy does not handle RetriableException
correctly. (Arpit Agarwal) 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 Release 2.7.0 - 2015-04-20
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -375,13 +375,10 @@ private static class ImmutableFsPermission extends FsPermission {
public ImmutableFsPermission(short permission) { public ImmutableFsPermission(short permission) {
super(permission); super(permission);
} }
@Override
public FsPermission applyUMask(FsPermission umask) {
throw new UnsupportedOperationException();
}
@Override @Override
public void readFields(DataInput in) throws IOException { public void readFields(DataInput in) throws IOException {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
} }
} }