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

NPE in hasSystemPermission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • tserver
    • randomwalk test

    Description

      call to hasSystemPermission failed in the randomwalk, which was a result of the following server-side exception:

      31 15:00:05,267 [thrift.ClientService$Processor] ERROR: Internal error processing hasSystemPermission
      java.lang.NullPointerException
              at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
              at org.apache.accumulo.server.security.ZKAuthenticator$Tool.convertSystemPermissions(ZKAuthenticator.java:675)
              at org.apache.accumulo.server.security.ZKAuthenticator.hasSystemPermission(ZKAuthenticator.java:373)
              at org.apache.accumulo.server.security.Auditor.hasSystemPermission(Auditor.java:149)
              at org.apache.accumulo.server.client.ClientServiceHandler.hasSystemPermission(ClientServiceHandler.java:194)
              at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at cloudtrace.instrument.thrift.TraceWrap$1.invoke(TraceWrap.java:58)
              at $Proxy2.hasSystemPermission(Unknown Source)
              at org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$hasSystemPermission.process(ClientService.java:2409)
              at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor.process(TabletClientService.java:2037)
              at org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:151)
              at org.apache.thrift.server.TNonblockingServer$FrameBuffer.invoke(TNonblockingServer.java:631)
              at org.apache.accumulo.server.util.TServerUtils$THsHaServer$Invocation.run(TServerUtils.java:199)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
              at java.lang.Thread.run(Thread.java:662)
      

      Attachments

        Activity

          People

            ecn Eric C. Newton
            ecn Eric C. Newton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: