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 7543E17B04 for ; Sun, 10 May 2015 16:41:00 +0000 (UTC) Received: (qmail 42262 invoked by uid 500); 10 May 2015 16:41:00 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 42217 invoked by uid 500); 10 May 2015 16:41:00 -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 42206 invoked by uid 99); 10 May 2015 16:41:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 May 2015 16:41:00 +0000 Date: Sun, 10 May 2015 16:41:00 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-3789) Code compiled against 1.6 lexicoders can't run in 1.7 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-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser updated ACCUMULO-3789: --------------------------------- Assignee: Russ Weeks (was: Josh Elser) > Code compiled against 1.6 lexicoders can't run in 1.7 > ----------------------------------------------------- > > Key: ACCUMULO-3789 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3789 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.7.0 > Environment: Development environment > Reporter: Russ Weeks > Assignee: Russ Weeks > Priority: Blocker > Fix For: 1.7.0 > > Attachments: ACCUMULO-3789.patch, TestLexicoderCompat.tar.gz > > > Code which was built against the 1.6 Lexicoders will fail with a NoSuchMethod error when run against the 1.7 jars. > Test case is attached. Sorry it depends on Gradle, the build file is pretty trivial. > h3. Steps to reproduce > * Deploy accumulo 1.7.0-SNAPSHOT jars to local maven repository, I did {{mvn -DskipTests -Dfindbugs.skip=true install}} on commit 31dd5ca > * Untar attached file TestLexicoderCompat.tar.gz, run {{gradle clean test}} > h3. Expected Result > * All unit tests pass > h3. Actual Result > * The unit test "TestLexicoderCompatibility" fails with the error: > {noformat} > java.lang.NoSuchMethodError: org.apache.accumulo.core.client.lexicoder.LongLexicoder.decode([B)Ljava/lang/Long; > at lexicoder.TestLexicoderCompatibility.testLexicoderBackwardsCompatibility(TestLexicoderCompatibility.java:20) > [snip] > {noformat} > * Switching the {{testRuntime}} dependency to 1.6.1 instead of 1.7.0-SNAPSHOT will cause the test to pass. -- This message was sent by Atlassian JIRA (v6.3.4#6332)