You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ethan Li (JIRA)" <ji...@apache.org> on 2018/09/05 19:17:00 UTC

[jira] [Commented] (STORM-3213) 500 Server Error on __acker component page on Storm UI

    [ https://issues.apache.org/jira/browse/STORM-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604814#comment-16604814 ] 

Ethan Li commented on STORM-3213:
---------------------------------

Tested on 1.x and it works fine. 

The way how it writes ResourceUtils/getBoltsResources is able to avoid NPE issue.  But that's not the case in 2.x. Technically it's the same bug in 1.x source code. 

But we don't need to change 1.x because in 1.x, we don't care about resources for system bolts. They will be just default values.

> 500 Server Error on __acker component page on Storm UI
> ------------------------------------------------------
>
>                 Key: STORM-3213
>                 URL: https://issues.apache.org/jira/browse/STORM-3213
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Ethan Li
>            Priority: Major
>
> {code:java}
> org.apache.storm.thrift.TApplicationException: Internal error processing getComponentPageInfo
> 	at org.apache.storm.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
> 	at org.apache.storm.generated.Nimbus$Client.recv_getComponentPageInfo(Nimbus.java:1359)
> 	at org.apache.storm.generated.Nimbus$Client.getComponentPageInfo(Nimbus.java:1343)
> 	at org.apache.storm.daemon.ui.UIHelpers.getComponentPage(UIHelpers.java:1559)
> 	at org.apache.storm.daemon.ui.resources.StormApiResource.getTopologyComponent(StormApiResource.java:438)
> {code}
> {code:java}
> 2018-09-05 16:15:24.927 o.a.s.t.ProcessFunction pool-21-thread-55 [ERROR] Internal error processing getComponentPageInfo
> java.lang.RuntimeException: java.lang.NullPointerException
>         at org.apache.storm.daemon.nimbus.Nimbus.getComponentPageInfo(Nimbus.java:4238) ~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.generated.Nimbus$Processor$getComponentPageInfo.getResult(Nimbus.java:4577) ~[storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.generated.Nimbus$Processor$getComponentPageInfo.getResult(Nimbus.java:4556) ~[storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.thrift.ProcessFunction.process(ProcessFunction.java:38) [shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.thrift.TBaseProcessor.process(TBaseProcessor.java:39) [shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.security.auth.SimpleTransportPlugin$SimpleWrapProcessor.process(SimpleTransportPlugin.java:169) [storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:518) [shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.thrift.server.Invocation.run(Invocation.java:18) [shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
>         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> Caused by: java.lang.NullPointerException
>         at org.apache.storm.scheduler.resource.ResourceUtils.getBoltResources(ResourceUtils.java:37) ~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         at org.apache.storm.daemon.nimbus.Nimbus.getComponentPageInfo(Nimbus.java:4192) ~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
>         ... 10 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)