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

    https://github.com/apache/storm/pull/2113#discussion_r120676803
  
    --- Diff: 
storm-client/src/jvm/org/apache/storm/trident/operation/DefaultResourceDeclarer.java
 ---
    @@ -29,8 +34,12 @@
      */
     public class DefaultResourceDeclarer<T extends DefaultResourceDeclarer> 
implements ResourceDeclarer<T>, ITridentResource {
     
    -    private Map<String, Number> resources = new HashMap<>();
    -    private static Map<String, Object> conf = Utils.readStormConfig();
    +    //@{link org.apache.storm.trident.planner.Node} and several other 
tirdent classes inherit from DefaultResourceDeclarer
    +    // These classes are serialized out as part of the bolts and spouts of 
a topology, often for each bolt/spout in the topology.
    +    // The following are marked as transiant because they are never used 
after the topology is created so keeping them around just wasts
    --- End diff --
    
    wasts


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to