HDFS-4614. FSNamesystem#getContentSummary should use getPermissionChecker helper method. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1458593 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67699c2d18
commit
c92b59fd8d
@ -427,6 +427,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||
HDFS-4596. Shutting down namenode during checkpointing can lead to md5sum
|
||||
error. (Andrew Wang via atm)
|
||||
|
||||
HDFS-4614. FSNamesystem#getContentSummary should use getPermissionChecker
|
||||
helper method. (atm)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -3054,8 +3054,7 @@ private boolean mkdirsInternal(FSPermissionChecker pc, String src,
|
||||
|
||||
ContentSummary getContentSummary(String src) throws AccessControlException,
|
||||
FileNotFoundException, UnresolvedLinkException, StandbyException {
|
||||
FSPermissionChecker pc = new FSPermissionChecker(fsOwnerShortUserName,
|
||||
supergroup);
|
||||
FSPermissionChecker pc = getPermissionChecker();
|
||||
checkOperation(OperationCategory.READ);
|
||||
readLock();
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user