You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by vi...@apache.org on 2014/11/01 19:10:42 UTC
git commit: HADOOP-11254. Changed visibility of AccessControlList to
be public for consumption by ecosystem. Contributed by Zhijie Shen.
Repository: hadoop
Updated Branches:
refs/heads/trunk ed63b1164 -> b18e8a272
HADOOP-11254. Changed visibility of AccessControlList to be public for consumption by ecosystem. Contributed by Zhijie Shen.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b18e8a27
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b18e8a27
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b18e8a27
Branch: refs/heads/trunk
Commit: b18e8a272eaf69d05d567b8c39e3e7c556935b08
Parents: ed63b11
Author: Vinod Kumar Vavilapalli <vi...@apache.org>
Authored: Sat Nov 1 11:10:03 2014 -0700
Committer: Vinod Kumar Vavilapalli <vi...@apache.org>
Committed: Sat Nov 1 11:10:03 2014 -0700
----------------------------------------------------------------------
hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
.../apache/hadoop/security/authorize/AccessControlList.java | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/b18e8a27/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 9f70a24..689cb45 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -616,6 +616,9 @@ Release 2.6.0 - UNRELEASED
HADOOP-11216. Improve Openssl library finding. (cmccabe via yliu)
+ HADOOP-11254. Changed visibility of AccessControlList to be public for
+ consumption by ecosystem. (Zhijie Shen via vinodkv)
+
OPTIMIZATIONS
HADOOP-10838. Byte array native checksumming. (James Thomas via todd)
http://git-wip-us.apache.org/repos/asf/hadoop/blob/b18e8a27/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java
index d250df1..f19776f 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java
@@ -39,7 +39,7 @@ import org.apache.hadoop.util.StringUtils;
/**
* Class representing a configured access control list.
*/
-@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceAudience.Public
@InterfaceStability.Evolving
public class AccessControlList implements Writable {
@@ -209,7 +209,7 @@ public class AccessControlList implements Writable {
* Get the names of users allowed for this service.
* @return the set of user names. the set must not be modified.
*/
- Collection<String> getUsers() {
+ public Collection<String> getUsers() {
return users;
}
@@ -217,7 +217,7 @@ public class AccessControlList implements Writable {
* Get the names of user groups allowed for this service.
* @return the set of group names. the set must not be modified.
*/
- Collection<String> getGroups() {
+ public Collection<String> getGroups() {
return groups;
}