nwangtw opened a new pull request #3180: [Streamlet] Fix streamlet config to 
apply cpu and ram in topology
URL: https://github.com/apache/incubator-heron/pull/3180
 
 
   Currently it seems like the CPU and RAM config in Streamlet Config is not 
applied.  After the fix, IntegerProcessingTopology example shows correct 
resource allocation:
   
   Container 1
   CPU: 1.5, RAM: 8192 MB, Disk: 15360 MB
   ========================================================================
   |     component | task ID |                 CPU | RAM (MB) | disk (MB) |
   ------------------------------------------------------------------------
   | unify-streams |       1 | 0.16666666666666666 |     2048 |      1024 |
   |   random-ints |       5 | 0.16666666666666666 |     2048 |      1024 |
   |       add-one |       3 | 0.16666666666666666 |     2048 |      1024 |
   ========================================================================
   
   Container 2
   CPU: 1.5, RAM: 8192 MB, Disk: 15360 MB
   ======================================================================
   |   component | task ID |                 CPU | RAM (MB) | disk (MB) |
   ----------------------------------------------------------------------
   |   supplier1 |       4 | 0.16666666666666666 |     2048 |      1024 |
   | remove-twos |       2 | 0.16666666666666666 |     2048 |      1024 |
   |     logger1 |       6 | 0.16666666666666666 |     2048 |      1024 |
   ======================================================================

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