Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1123

Security test failing with BAD_CREDENTIALS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • test
    • None
    • 10 node test cluster running randomwalk test

    Description

      Security RW test fails with BAD_CREDENTIALS:

      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)
      
      

      Attachments

        Issue Links

          Activity

            People

              vines John Vines
              ecn Eric C. Newton
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: