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-3292) ConditionalWriterIT#testOffline failed
Date Wed, 05 Nov 2014 18:39:34 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198817#comment-14198817
] 

Josh Elser commented on ACCUMULO-3292:
--------------------------------------

I couldn't find anything incorrectly happening on the server side, I think this is actually
just a bug in the waiting portion (ACCUMULO-3301).

Because we know that the tablet was not yet hosted before the table went offline, this means
that the tablet had a future location but no current location. Because waitForTableStateTransition
wasn't fetching the future location, the fact that there was a future location was ignored
and the impl thought that the tablets had correctly transitioned to offline (incorrectly).

Eventually the tserver caught up: finished making the tablet hosted (removed future and added
current) and then unloaded the tablet in response to the table moving offline. By this point,
though, the test had already ended and we had failed the test.

> ConditionalWriterIT#testOffline failed
> --------------------------------------
>
>                 Key: ACCUMULO-3292
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3292
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.6.2, 1.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.accumulo.test.ConditionalWriterIT
> -------------------------------------------------------------------------------
> Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 94.566 sec <<<
FAILURE! - in org.apache.accumulo.test.ConditionalWriterIT
> testOffline(org.apache.accumulo.test.ConditionalWriterIT)  Time elapsed: 15.974 sec 
<<< FAILURE!
> java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertFalse(Assert.java:64)
> 	at org.junit.Assert.assertFalse(Assert.java:74)
> 	at org.apache.accumulo.test.ConditionalWriterIT.testOffline(ConditionalWriterIT.java:1151)
> {noformat}
> Looks like we somehow didn't get an exception when fetching the status for a ConditionalMutation
written to an offline table.
> Also, need to take the time to ensure that all of the assertions in this class have meaningful
messages as this is the second one in a week that gave no clear reason for its failure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message