Github user kishorvpatil commented on a diff in the pull request: https://github.com/apache/storm/pull/2312#discussion_r138926679 --- Diff: storm-server/src/main/java/org/apache/storm/daemon/supervisor/timer/SupervisorHeartbeat.java --- @@ -73,10 +73,24 @@ private SupervisorInfo buildSupervisorInfo(Map<String, Object> conf, Supervisor private Map<String, Double> mkSupervisorCapacities(Map<String, Object> conf) { Map<String, Double> ret = new HashMap<String, Double>(); + // Put in legacy values Double mem = ObjectReader.getDouble(conf.get(Config.SUPERVISOR_MEMORY_CAPACITY_MB), 4096.0); ret.put(Config.SUPERVISOR_MEMORY_CAPACITY_MB, mem); Double cpu = ObjectReader.getDouble(conf.get(Config.SUPERVISOR_CPU_CAPACITY), 400.0); ret.put(Config.SUPERVISOR_CPU_CAPACITY, cpu); + + --- End diff -- extra lines
---