nwangtw commented on a change in pull request #3187: Consolidate Packing
URL: https://github.com/apache/incubator-heron/pull/3187#discussion_r254051873
 
 

 ##########
 File path: 
heron/packing/src/java/org/apache/heron/packing/roundrobin/RoundRobinPacking.java
 ##########
 @@ -463,11 +463,15 @@ private ByteAmount getContainerDiskHint(Map<Integer, 
List<InstanceId>> allocatio
    * @return Container RAM requirement
    */
   private ByteAmount getContainerRamHint(Map<Integer, List<InstanceId>> 
allocation) {
+    ByteAmount defaultContainerRam = instanceRamDefault
 
 Review comment:
   this logic seems to be used in a few places. maybe refactor into a static 
function?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to