[
https://issues.apache.org/jira/browse/HADOOP-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859303#action_12859303
]
Hemanth Yamijala commented on HADOOP-6715:
------------------------------------------
Can one of you help me understand what Ravi means by "save it as a String and
later set it to a key in some Configuration object" ? It seems like we need to
store the ACL objects in some map, and possibly these need to be reconstructed
from a serialized representation (like for task log access, maybe ?) and we are
using the key of the map as the String that is thus serialized.
If that's the case, can we serialize the ACL using some representation that
stores the actual name and value as separate fields rather than a toString
representation, use a hashCode / equals on the ACL object to build a key based
on these fields, and use toString for display purposes. This seems more
canonical to me (inline with what toString is typically used for).
> AccessControlList.toString() returns empty string when we set acl to "*"
> ------------------------------------------------------------------------
>
> Key: HADOOP-6715
> URL: https://issues.apache.org/jira/browse/HADOOP-6715
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Reporter: Ravi Gummadi
> Assignee: Ravi Gummadi
>
> AccessControlList.toString() returns empty string when we set the acl to "\*"
> and also when we set it to empty(i.e. " "). This is causing wrong values for
> ACLs shown on jobdetails.jsp and jobdetailshistory.jsp web pages when acls
> are set to "\*".
> I think AccessControlList.toString() needs to be changed to return "\*" when
> we set the acl to "\*".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.