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

class cast exception during Security random walk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.5.0
    • test
    • 10 node test cluster running random walk

    Description

      26 20:07:32,902 [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.Validate
              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: java.lang.ClassCastException: [B cannot be cast to org.apache.accumulo.core.security.tokens.PasswordToken
              at org.apache.accumulo.test.randomwalk.security.WalkingSecurity.authenticateUser(WalkingSecurity.java:143)
              at org.apache.accumulo.server.security.SecurityOperation.authenticate(SecurityOperation.java:154)
              at org.apache.accumulo.server.security.SecurityOperation.canPerformSystemActions(SecurityOperation.java:306)
              at org.apache.accumulo.server.security.SecurityOperation.canAskAboutUser(SecurityOperation.java:165)
              at org.apache.accumulo.test.randomwalk.security.WalkingSecurity.canAskAboutUser(WalkingSecurity.java:373)
              at org.apache.accumulo.test.randomwalk.security.Authenticate.authenticate(Authenticate.java:52)
              at org.apache.accumulo.test.randomwalk.security.Validate.validate(Validate.java:55)
              at org.apache.accumulo.test.randomwalk.security.Validate.visit(Validate.java:37)
              at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:251)
              ... 9 more
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: