azagrebin opened a new pull request #14083:
URL: https://github.com/apache/flink/pull/14083


   Originates from 
[discussion](https://issues.apache.org/jira/browse/FLINK-19461?focusedCommentId=17232012&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17232012)
 in FLINK-19461.
   
   Currently, all configuration failures will result in 
`IllegalConfigurationException` from `JobManagerProcessUtils` or 
`TaskExecutorProcessUtils`. The exception error messages do not refer to the 
process type (JM or TM), it can only become clear from the stack trace.
   
   We can wrap main configuration calls with extra try/catch 
(`TaskExecutorProcessUtils::processSpecFromConfig` and 
`JobManagerProcessUtils::processSpecFromConfigWithNewOptionToInterpretLegacyHeap`)
 where `IllegalConfigurationException` is wrapped into another one which states 
type of the process (JM or TM).


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


Reply via email to