accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2814) LocalWALRecoveryTest.testRecoverLocalWriteAheadLogs:73 Wrong number of WAL files recovered. expected:<1> but was:<0>
Date Fri, 16 May 2014 10:43:33 GMT

    [ 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)

Mime
View raw message