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

    https://github.com/apache/storm/pull/875#discussion_r45508189
  
    --- Diff: storm-core/src/jvm/backtype/storm/scheduler/Cluster.java ---
    @@ -461,6 +466,75 @@ public SupervisorDetails getSupervisorById(String 
nodeId) {
             return networkTopography;
         }
     
    +    /*
    +    * Get heap memory usage for a worker's main process and logwriter 
process
    +    * */
    +    private Double getAssignedMemoryForSlot(Map topConf) {
    +        Double totalWorkerMemory = 0.0;
    +
    +        String topologyWorkerChildopts = 
Utils.getString(topConf.get(Config.TOPOLOGY_WORKER_CHILDOPTS), null);
    +        String workerChildopts = 
Utils.getString(topConf.get(Config.WORKER_CHILDOPTS), null);
    --- End diff --
    
    Both of these configs will return either a string or a list of strings.  We 
should support both options.


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