[
https://issues.apache.org/jira/browse/STORM-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364354#comment-15364354
]
ASF GitHub Bot commented on STORM-1945:
---------------------------------------
GitHub user HeartSaVioR opened a pull request:
https://github.com/apache/storm/pull/1540
STORM-1945 Fix NPE bugs on topology spout lag for storm-kafka-monitor
* Fix several spots which are throwing NPE on TopologySpoutLag
* Use a trick to get classname of Spout without requiring storm-kafka and
storm-kafka-client
* Move storm-kafka-monitor jar to toollib directory
* since jars in extlib are added to worker classpath which we don't want
for this jar
@priyank5485 @harshach Please take a look and comment. Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HeartSaVioR/storm STORM-1945
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1540.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1540
----
commit da387c1e3fb8d7a704c479569d7e84ce52d58e7c
Author: Jungtaek Lim <[email protected]>
Date: 2016-07-06T13:49:46Z
STORM-1945 Fix NPE bugs on topology spout lag for storm-kafka-monitor
* Fix several spots which are throwing NPE on TopologySpoutLag
* Use a trick to get classname of Spout without requiring storm-kafka and
storm-kafka-client
* Move storm-kafka-monitor jar to toollib directory
* since jars in extlib are added to worker classpath which we don't want
for this jar
----
> Internal Server Error shown on topology page for topology using KafkaSpout
> --------------------------------------------------------------------------
>
> Key: STORM-1945
> URL: https://issues.apache.org/jira/browse/STORM-1945
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-ui
> Affects Versions: 2.0.0, 1.1.0
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
> Priority: Critical
> Attachments: Screen Shot 2016-07-06 at 4.25.41 PM.png
>
>
> When opening topology page which uses old storm-kafka Spout, page shows
> Internal Server Error on bottom side.
> And REST API /api/v1/topology/:topology/lag also shows Internal Server Error.
> Its errorMessage is describing NPE, but stack track gives less help since
> it's already within catch statement so we can't trace why origin exception is
> thrown by only looking at errorMessage. And there's no error message on ui
> log file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)