You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/05/14 10:47:00 UTC
[jira] [Created] (FLINK-9357) Add margins to yarn exception
excerpts
Chesnay Schepler created FLINK-9357:
---------------------------------------
Summary: 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
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)