accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1051) Authorizations has inconsistent serialization
Date Thu, 14 Feb 2013 01:13:11 GMT


Christopher Tubbs commented on ACCUMULO-1051:

Yes, sorry. I only ran the unit tests that were added when I committed, and not the whole
suite (admittedly a stupid idea). I'll revert the commit, until it is fixed (because I don't
have time to fix it at the moment), but essentially the failure is because the shell tests
are relying on the iteration order of the HashSet. The shell should be showing them in sorted
order, regardless of the serialization, anyway, but that's a separate issue (but related).
> Authorizations has inconsistent serialization
> ---------------------------------------------
>                 Key: ACCUMULO-1051
>                 URL:
>             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
> 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:

View raw message