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 E87D8E2B7 for ; Thu, 14 Feb 2013 00:46:13 +0000 (UTC) Received: (qmail 48252 invoked by uid 500); 14 Feb 2013 00:46:13 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 48098 invoked by uid 500); 14 Feb 2013 00:46: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 48085 invoked by uid 99); 14 Feb 2013 00:46:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 00:46:13 +0000 Date: Thu, 14 Feb 2013 00:46:13 +0000 (UTC) From: "Kevin Faro (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 ] Kevin Faro updated ACCUMULO-1051: --------------------------------- Attachment: (was: accumulo-1051.patch) > 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 > > > 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