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 032F011515 for ; Fri, 16 May 2014 18:59:49 +0000 (UTC) Received: (qmail 7491 invoked by uid 500); 16 May 2014 11:01:35 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 83873 invoked by uid 500); 16 May 2014 10:52:38 -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 69795 invoked by uid 99); 16 May 2014 10:43:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 10:43:33 +0000 Date: Fri, 16 May 2014 10:43:33 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2814) LocalWALRecoveryTest.testRecoverLocalWriteAheadLogs:73 Wrong number of WAL files recovered. expected:<1> but was:<0> 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-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998956#comment-13998956 ] Josh Elser commented on ACCUMULO-2814: -------------------------------------- It looks like the tserver is somehow picking up my local environment var {{ACCUMULO_HOME}} (where the /usr/local/lib/accumulo came from) instead of pulling from the maven tree. You should probably be accessing it from the test-classpath (target/test-resources) instead of reaching back up into src/test/resources, as well. {code:title=STDOUT From Test} 2014-05-15 13:46:22,456 [util.NativeCodeLoader] WARN : Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2014-05-15 13:46:22,642 [tserver.TabletServer] WARN : Local walog dir /usr/local/lib/accumulo/src/test/resources/walog-from-14 does not exist or is not a directory. {code} > LocalWALRecoveryTest.testRecoverLocalWriteAheadLogs:73 Wrong number of WAL files recovered. expected:<1> but was:<0> > -------------------------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-2814 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2814 > Project: Accumulo > Issue Type: Bug > Components: test > Environment: Git SHA1: c57bc8d5d509e368bc0d4a4b8e2f80503efade26 > Reporter: Josh Elser > Assignee: Mike Drob > Priority: Minor > Fix For: 1.6.1, 1.7.0 > > > Noticed this one twice. Don't have logging output yet due to ACCUMULO-2813. > {noformat} > testRecoverLocalWriteAheadLogs(org.apache.accumulo.tserver.log.LocalWALRecoveryTest) Time elapsed: 0.725 sec <<< FAILURE! > java.lang.AssertionError: Wrong number of WAL files recovered. expected:<1> but was:<0> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.apache.accumulo.tserver.log.LocalWALRecoveryTest.testRecoverLocalWriteAheadLogs(LocalWALRecoveryTest.java:73) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)