You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Eric Newton (Created) (JIRA)" <ji...@apache.org> on 2012/01/31 19:56:10 UTC

[jira] [Created] (ACCUMULO-357) NPE in hasSystemPermission

NPE in hasSystemPermission
--------------------------

                 Key: ACCUMULO-357
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-357
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.4.0
         Environment: randomwalk test
            Reporter: Eric Newton
            Assignee: Eric Newton


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

{noformat}
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)
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ACCUMULO-357) NPE in hasSystemPermission

Posted by "Eric Newton (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton resolved ACCUMULO-357.
----------------------------------

    Resolution: Fixed
    
> NPE in hasSystemPermission
> --------------------------
>
>                 Key: ACCUMULO-357
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-357
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.0
>         Environment: randomwalk test
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>
> call to hasSystemPermission failed in the randomwalk, which was a result of the following server-side exception:
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-357) NPE in hasSystemPermission

Posted by "Keith Turner (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner updated ACCUMULO-357:
----------------------------------

    Affects Version/s:     (was: 1.4.0)
        Fix Version/s: 1.4.0
    
> NPE in hasSystemPermission
> --------------------------
>
>                 Key: ACCUMULO-357
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-357
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>         Environment: randomwalk test
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>             Fix For: 1.4.0
>
>
> call to hasSystemPermission failed in the randomwalk, which was a result of the following server-side exception:
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira