HDFS-6463. Merging change r1598437 from trunk to branch-2.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1598438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2014-05-29 23:08:52 +00:00
parent 7d3496c7be
commit c19b55ce32
2 changed files with 7 additions and 0 deletions

View File

@ -137,6 +137,9 @@ Release 2.5.0 - UNRELEASED
HDFS-6447. balancer should timestamp the completion message. HDFS-6447. balancer should timestamp the completion message.
(Juan Yu via wang). (Juan Yu via wang).
HDFS-6463. Clarify behavior of AclStorage#createFsPermissionForExtendedAcl
in comments. (cnauroth)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn) HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn)

View File

@ -338,6 +338,10 @@ final class AclStorage {
* ACL, based on its access ACL entries. For a correctly sorted ACL, the * ACL, based on its access ACL entries. For a correctly sorted ACL, the
* first entry is the owner and the last 2 entries are the mask and other * first entry is the owner and the last 2 entries are the mask and other
* entries respectively. Also preserve sticky bit and toggle ACL bit on. * entries respectively. Also preserve sticky bit and toggle ACL bit on.
* Note that this method intentionally copies the permissions of the mask
* entry into the FsPermission group permissions. This is consistent with the
* POSIX ACLs model, which presents the mask as the permissions of the group
* class.
* *
* @param accessEntries List<AclEntry> access ACL entries * @param accessEntries List<AclEntry> access ACL entries
* @param existingPerm FsPermission existing permissions * @param existingPerm FsPermission existing permissions