Andrey Zagrebin created FLINK-20171:
---------------------------------------
Summary: Improve error message for Flink process memory configuration
Key: FLINK-20171
URL:
https://issues.apache.org/jira/browse/FLINK-20171 Project: Flink
Issue Type: Improvement
Components: Runtime / Coordination
Affects Versions: 1.11.0
Reporter: Andrey Zagrebin
Assignee: Andrey Zagrebin
Fix For: 1.12.0, 1.11.0
Currently, all configuration failures will result in IllegalConfigurationException from JobManagerProcessUtils and 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 message was sent by Atlassian Jira
(v8.3.4#803005)