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 084DC10A6E for ; Wed, 2 Apr 2014 15:29:29 +0000 (UTC) Received: (qmail 88963 invoked by uid 500); 2 Apr 2014 15:29:28 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 88749 invoked by uid 500); 2 Apr 2014 15:29:19 -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 88668 invoked by uid 99); 2 Apr 2014 15:29:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 15:29:15 +0000 Date: Wed, 2 Apr 2014 15:29:15 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1897) Bug in MemKeyConversionIterator constructor 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-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-1897: ---------------------------------------- Fix Version/s: 1.6.0 1.5.2 > Bug in MemKeyConversionIterator constructor > ------------------------------------------- > > Key: ACCUMULO-1897 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1897 > Project: Accumulo > Issue Type: Bug > Components: tserver > Affects Versions: 1.5.0, 1.5.1 > Reporter: Bill Havanki > Fix For: 1.5.2, 1.6.0 > > > The constructor for {{InMemoryMap.MemKeyConversionIterator}} which takes a starting key does not correctly clone the key. The parameter to the constructor is {{startKey}}, but the code looks at the {{currKey}} field to check whether a key is available. > {code:java} > if (currKey != null) // <- should be startKey != null > currKey = (MemKey) startKey.clone(); > {code} > This class was introduced in version 1.5.0, and is not present in 1.4.x. -- This message was sent by Atlassian JIRA (v6.2#6252)