Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1541#discussion_r69841403
  
    --- Diff: storm-core/src/jvm/org/apache/storm/utils/TopologySpoutLag.java 
---
    @@ -43,26 +43,44 @@
         public static List<Map<String, Object>> lag (StormTopology 
stormTopology, Map topologyConf) {
             List<Map<String, Object>> result = new ArrayList<>();
             Map<String, SpoutSpec> spouts = stormTopology.get_spouts();
    -        Object object = null;
    +        String className = null;
             for (Map.Entry<String, SpoutSpec> spout: spouts.entrySet()) {
                 try {
                     SpoutSpec spoutSpec = spout.getValue();
                     ComponentObject componentObject = 
spoutSpec.get_spout_object();
    -                object = Utils.getSetComponentObject(componentObject);
    --- End diff --
    
    The problem starts here. For many situation we can't deserialize Spout 
object since UI doesn't have dependency for that Spout, for example, 
storm-kafka or storm-kafka-client.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to