[
https://issues.apache.org/jira/browse/HADOOP-10885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092526#comment-14092526
]
Ray Chiang commented on HADOOP-10885:
-------------------------------------
Just observing. Peeking through the org.apache.hadoop.security.authorize files:
AccessControlList.java:@InterfaceAudience.LimitedPrivate({"HDFS",
"MapReduce"})
AuthorizationException.java:@InterfaceAudience.LimitedPrivate({"HDFS",
"MapReduce"})
DefaultImpersonationProvider.java:@InterfaceAudience.Public
ImpersonationProvider.java:@InterfaceAudience.Public
PolicyProvider.java:@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
ProxyUsers.java:@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce",
"HBase", "Hive"})
RefreshAuthorizationPolicyProtocol.java:@InterfaceAudience.LimitedPrivate({"HDFS",
"MapReduce"})
Service.java:@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
ServiceAuthorizationManager.java:@InterfaceAudience.LimitedPrivate({"HDFS",
"MapReduce"})
package-info.java:@InterfaceAudience.LimitedPrivate({"HBase", "HDFS",
"MapReduce"})
It also looks like package-info.java will override the "Hive" access part of
ProxyUsers.java. Is the right fix:
a) Update DefaultImpersonationProvider/ImpersonationProvider to be
LimitedPrivate and fix the fields for ProxyUsers.java. If so, what setting(s)?
b) Fix package-info.java to be @InterfaceAudience.Public.
I'd guess a), but it would be good to check with someone who actually has the
right answer.
> Fix dead links to the javadocs of o.a.h.security.authorize
> ----------------------------------------------------------
>
> Key: HADOOP-10885
> URL: https://issues.apache.org/jira/browse/HADOOP-10885
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: documentation
> Affects Versions: 2.6.0
> Reporter: Akira AJISAKA
> Priority: Minor
> Labels: newbie
>
> In API doc ([my trunk
> build|http://aajisaka.github.io/hadoop-project/api/index.html]),
> {{ImpersonationProvider}} and {{DefaultImpersonationProvider}} classes are
> linked but these documents are not generated.
> There's an inconsistency about {{@InterfaceAudience}} between package-info
> and these classes, so these dead links are generated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)