[ 
https://issues.apache.org/jira/browse/ACCUMULO-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578134#comment-13578134
 ] 

Hudson commented on ACCUMULO-1051:
----------------------------------

Integrated in Accumulo-Trunk-Hadoop-2.0 #92 (See 
[https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/92/])
    ACCUMULO-1051 reverted previous change, which broke unit tests. Awaiting 
updated patch based on test failures and ticket discussions. (Revision 1446013)

     Result = FAILURE
ctubbsii : 
Files : 
* 
/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java
* 
/accumulo/trunk/core/src/test/java/org/apache/accumulo/core/security/AuthorizationsTest.java

                
> Authorizations has inconsistent serialization
> ---------------------------------------------
>
>                 Key: ACCUMULO-1051
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1051
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: Christopher Tubbs
>            Assignee: Kevin Faro
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.5.0
>
>         Attachments: accumulo-1051.patch
>
>
> The same set of authorizations may not serialize to the same value each time, 
> if specified in a different order when constructed (like new 
> Authorizations("a", "b") and new Authorizations("b", "a")), because 
> serialization reproducibility depends on the insert order in the underlying 
> HashSet.
> So, one could get the following to happen:
> {code:java}
> true == auths1.equals(auths2) && 
> !auths1.serialize().equals(auths2.serialize());
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to