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 Tue, 04 Nov 2014 23:59:36 GMT

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

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

I couldn't find anything in the TabletLocator code that checked to see if the table was actually
offline. So, as long as ZooCache incorrectly reports that the table is online and the master
state machine hasn't yet taken the tablets offline, it seems like we could get the tserver/tablet
location and still perform the update.

It's a bit of a misnomer since the table operations {{offline}} method includes a {{wait}}
argument. It isn't entirely 100% true. It seems like ChangeTableState, when waiting, should
also include a wait for metadata to be updated as well?

> 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: 20m
>  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