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] [Comment Edited] (ACCUMULO-2913) Continue stabilzation of replication UTs/ITs
Date Mon, 16 Jun 2014 16:54:03 GMT

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

Josh Elser edited comment on ACCUMULO-2913 at 6/16/14 4:52 PM:
---------------------------------------------------------------

I got the following test failure, but there are no messages or exception in the server, and
the only way I could debug it now (because the client-side logging wasn't turned up high enough)
would be to find an invocation where we passed in a null SecurityErrorCode into AccumuloSecurityException
(which is a lot of places). I'll try to fix the ultimately cause if/when I see it again.

{noformat}
Error Message

org.apache.accumulo.core.client.AccumuloSecurityException: Error DEFAULT_SECURITY_ERROR for
user root - Unknown security exception

Stacktrace

java.lang.RuntimeException: org.apache.accumulo.core.client.AccumuloSecurityException: Error
DEFAULT_SECURITY_ERROR for user root - Unknown security exception
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8613)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8590)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result.read(TabletClientService.java:8529)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.recv_startMultiScan(TabletClientService.java:311)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.startMultiScan(TabletClientService.java:291)
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:632)
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:592)
	at org.apache.accumulo.core.metadata.MetadataLocationObtainer.lookupTablets(MetadataLocationObtainer.java:181)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated(TabletLocatorImpl.java:667)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:610)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.binRanges(TabletLocatorImpl.java:281)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.binRanges(TabletLocatorImpl.java:356)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated(TabletLocatorImpl.java:660)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:610)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.locateTablet(TabletLocatorImpl.java:440)
	at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:226)
	at org.apache.accumulo.core.client.impl.ScannerIterator$Reader.run(ScannerIterator.java:84)
	at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:177)
	at org.apache.accumulo.core.client.impl.ScannerIterator.next(ScannerIterator.java:214)
	at org.apache.accumulo.core.client.impl.ScannerIterator.next(ScannerIterator.java:48)
	at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:325)
	at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:271)
	at org.apache.accumulo.test.replication.CyclicReplicationIT.dataIsNotOverReplicated(CyclicReplicationIT.java:224)
{noformat}


was (Author: elserj):
I got the following test failure, but there are no messages or exception in the server, and
the only way I could debug it now (because the client-side logging wasn't turned up high enough)
would be to find an invocation where we passed in a null SecurityErrorCode (which is a lot
of places). I'll try to fix the ultimately cause if/when I see it again.

{noformat}
Error Message

org.apache.accumulo.core.client.AccumuloSecurityException: Error DEFAULT_SECURITY_ERROR for
user root - Unknown security exception

Stacktrace

java.lang.RuntimeException: org.apache.accumulo.core.client.AccumuloSecurityException: Error
DEFAULT_SECURITY_ERROR for user root - Unknown security exception
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8613)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8590)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result.read(TabletClientService.java:8529)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.recv_startMultiScan(TabletClientService.java:311)
	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.startMultiScan(TabletClientService.java:291)
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:632)
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:592)
	at org.apache.accumulo.core.metadata.MetadataLocationObtainer.lookupTablets(MetadataLocationObtainer.java:181)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated(TabletLocatorImpl.java:667)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:610)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.binRanges(TabletLocatorImpl.java:281)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.binRanges(TabletLocatorImpl.java:356)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated(TabletLocatorImpl.java:660)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:610)
	at org.apache.accumulo.core.client.impl.TabletLocatorImpl.locateTablet(TabletLocatorImpl.java:440)
	at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:226)
	at org.apache.accumulo.core.client.impl.ScannerIterator$Reader.run(ScannerIterator.java:84)
	at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:177)
	at org.apache.accumulo.core.client.impl.ScannerIterator.next(ScannerIterator.java:214)
	at org.apache.accumulo.core.client.impl.ScannerIterator.next(ScannerIterator.java:48)
	at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:325)
	at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:271)
	at org.apache.accumulo.test.replication.CyclicReplicationIT.dataIsNotOverReplicated(CyclicReplicationIT.java:224)
{noformat}

> Continue stabilzation of replication UTs/ITs
> --------------------------------------------
>
>                 Key: ACCUMULO-2913
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2913
>             Project: Accumulo
>          Issue Type: Task
>          Components: replication, test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> I've had the unit tests and integration tests for the replication work running in a nightly
jenkins job for the last month now. While it was meant to catch regressions then, it really
just catches weird timings in the test cases themselves (e.g. didn't wait long enough for
the replication table to exist, permissions didn't propagate through ZooCache, etc).
> This ticket is meant for the general cleanup to make the tests not fail incorrectly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message