Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DA8EEFED for ; Wed, 20 Feb 2013 23:43:13 +0000 (UTC) Received: (qmail 69588 invoked by uid 500); 20 Feb 2013 23:43:13 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 69556 invoked by uid 500); 20 Feb 2013 23:43:13 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 69547 invoked by uid 99); 20 Feb 2013 23:43:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 23:43:13 +0000 Date: Wed, 20 Feb 2013 23:43:13 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1051) Authorizations has inconsistent serialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keith Turner updated ACCUMULO-1051: ----------------------------------- Fix Version/s: (was: 1.5.0) 1.6.0 > 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.6.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