[
https://issues.apache.org/jira/browse/FLINK-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-9357.
-----------------------------------
Resolution: Fixed
master: 254724e7603df189fea07b20eeff5a3620b5d841
1.5: 3bc2ca3303d9e061b9865ddfc6fcd8240813d587
> Add margins to yarn exception excerpts
> --------------------------------------
>
> Key: FLINK-9357
> URL: https://issues.apache.org/jira/browse/FLINK-9357
> Project: Flink
> Issue Type: Improvement
> Components: Tests, YARN
> Affects Versions: 1.5.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Fix For: 1.5.0
>
>
> The yarn tests check the log files for exceptions to detect test failures. If
> detected a test will fail and an excerpt from the logs will be printed.
> The excerpt content is currently the stack of the detected exception. This
> only works correctly if the stacktrace follows a specific formatting style;
> for example if an exception message contains an empty line the output will be
> cut off.
> I propose including the 10 before/after the found exception to make this a
> bit more reliable. As a side-effect we also get a little contextual
> information.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)