azagrebin opened a new pull request #11039: [FLINK-15942] Do not log 
huge/infinite cpu/memory resources in profiles
URL: https://github.com/apache/flink/pull/11039
 
 
   ## What is the purpose of the change
   
   In local execution mode, we assume that cpu and task memory of slots are 
infinite to match any requests. Those resources are configured to 
`Double/Long.MAX_VALUE` values in this case. These ridiculously huge numbers 
get logged as slot's `ResourceProfile` and can confuse users. As a quick fix, 
we do not output the values which exceed a certain huge threshold.
   
   ## Brief change log
   
   Adjust `ResourceProfile#toString`.
   
   ## Verifying this change
   
   unit tests

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