RuiLi8080 opened a new pull request #3195: [STORM-3567] fix UI showing wrong 
resource info when topo is not sche…
URL: https://github.com/apache/storm/pull/3195
 
 
   …duled
   
   Currently topology UI page is showing wrong resource request info if the 
topo is not scheduled.
   This PR:
   1. Fix the getTopologyPageInfo method to calculate the correct resource map 
even if they are not populated yet
   2. Rename the component-level resource_map related keys in order to prevent 
name collision of mustache.render. Now even if the UI failed to retrieve the 
data it need for resources, it will be left blank instead of getting same named 
value from topology level.
   
   Example: this wc2 topo is not scheduled and the assigned on-heap mem is 0. 
Now the components are showing the right requested value.
   
   ![Screen Shot 2020-01-16 at 2 32 57 
PM](https://user-images.githubusercontent.com/15622046/72561262-6f1dbf80-386e-11ea-94f2-81fa8246bd91.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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