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

    https://github.com/apache/storm/pull/1541#discussion_r69854113
  
    --- 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 --
    
    @harshach Only task calls this method, no need to deserialize spout / bolt 
objects on daemons. Now UI is an exception case.


---
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