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

Josh Elser commented on ACCUMULO-3467:
--------------------------------------

Keith and I tag-teamed this to figure out what was going on. The compaction 
strategy (per recommendation by me on the review for ACCUMULO-1798) is always 
non-null. The error message is incorrect (it's the compaction strategy that's 
problematic, not the non-existent iterators), but the logic here is also wrong 
as the user didnt' provide the compaction strategy, it was the default from the 
system.

> MetadataIT.testFlushAndCompact occasionally fails
> -------------------------------------------------
>
>                 Key: ACCUMULO-3467
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3467
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Keith Turner
>             Fix For: 1.7.0
>
>
> I'm seeing this test occasionally fail for me on master (haven't checked 
> other branches).
> {noformat}
> Running org.apache.accumulo.test.functional.MetadataIT
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.598 sec 
> <<< FAILURE! - in org.apache.accumulo.test.functional.MetadataIT
> testFlushAndCompact(org.apache.accumulo.test.functional.MetadataIT)  Time 
> elapsed: 10.413 sec  <<< ERROR!
> org.apache.accumulo.core.client.AccumuloException: Another compaction with 
> iterators is running
>       at 
> org.apache.accumulo.core.master.thrift.FateService$waitForFateOperation_result$waitForFateOperation_resultStandardScheme.read(FateService.java:4243)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$waitForFateOperation_result$waitForFateOperation_resultStandardScheme.read(FateService.java:4212)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$waitForFateOperation_result.read(FateService.java:4146)
>       at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$Client.recv_waitForFateOperation(FateService.java:174)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$Client.waitForFateOperation(FateService.java:159)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.waitForFateOperation(TableOperationsImpl.java:280)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:322)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.compact(TableOperationsImpl.java:824)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.compact(TableOperationsImpl.java:802)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.compact(TableOperationsImpl.java:796)
>       at 
> org.apache.accumulo.test.functional.MetadataIT.testFlushAndCompact(MetadataIT.java:79)
> {noformat}



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

Reply via email to