accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-1123) Security test failing with BAD_CREDENTIALS
Date Fri, 01 Mar 2013 23:21:13 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Vines resolved ACCUMULO-1123.
----------------------------------

    Resolution: Fixed

I could not recreate locally, but I believe it's due to having no real handling for passwords
being in a transitive state. I added that for authorizations and a pause after changing password.
Reasons are in the commit message, I'm not repeating myself.

Please reopen if it rears it's ugly head again, it may be a matter of modifying the pause.
But I think 1s is enough, I hope.
                
> Security test failing with BAD_CREDENTIALS
> ------------------------------------------
>
>                 Key: ACCUMULO-1123
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1123
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>         Environment: 10 node test cluster running randomwalk test
>            Reporter: Eric Newton
>            Assignee: John Vines
>             Fix For: 1.5.0
>
>
> Security RW test fails with BAD_CREDENTIALS:
> {noformat}
> 27 16:03:31,041 [randomwalk.Framework] ERROR: Error during random walk
> java.lang.Exception: Error running node Security.xml
>         at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:264)
>         at org.apache.accumulo.test.randomwalk.Framework.run(Framework.java:65)
>         at org.apache.accumulo.test.randomwalk.Framework.main(Framework.java:125)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.accumulo.start.Main$1.run(Main.java:97)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.Exception: Error running node security.TableOp
>         at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:264)
>         at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:251)
>         ... 8 more
> Caused by: org.apache.accumulo.core.client.AccumuloException: Unexpected exception!
>         at org.apache.accumulo.test.randomwalk.security.TableOp.visit(TableOp.java:115)
>         at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:251)
>         ... 9 more
> Caused by: java.lang.RuntimeException: org.apache.accumulo.core.client.AccumuloSecurityException:
Error BAD_CREDENTIALS for user table_some_host - Username or Password is Invalid
>         at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:174)
>         at org.apache.accumulo.test.randomwalk.security.TableOp.visit(TableOp.java:80)
>         ... 10 more
> Caused by: org.apache.accumulo.core.client.AccumuloSecurityException: Error BAD_CREDENTIALS
for user table_some_host - Username or Password is Invalid
>         at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:701)
>         at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:605)
>         at org.apache.accumulo.core.client.impl.MetadataLocationObtainer.lookupTablets(MetadataLocationObtainer.java:152)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated(TabletLocatorImpl.java:590)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:534)
>         at org.apache.accumulo.core.client.impl.TabletLocator$1._locateTablet(TabletLocator.java:115)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl.locateTablet(TabletLocatorImpl.java:372)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl.lookupTabletLocation(TabletLocatorImpl.java:392)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(TabletLocatorImpl.java:546)
>         at org.apache.accumulo.core.client.impl.TabletLocatorImpl.locateTablet(TabletLocatorImpl.java:372)
>         at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:248)
>         at org.apache.accumulo.core.client.impl.ScannerIterator$Reader.run(ScannerIterator.java:82)
>         at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:164)
>         ... 11 more
> Caused by: ThriftSecurityException(user:table_some_host, code:BAD_CREDENTIALS)
>         at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8165)
>         at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result$startMultiScan_resultStandardScheme.read(TabletClientService.java:8142)
>         at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result.read(TabletClientService.java:8081)
>         at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>         at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.recv_startMultiScan(TabletClientService.java:294)
>         at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.startMultiScan(TabletClientService.java:274)
>         at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:644)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message