[jira] [Created] (FLINK-9357) Add margins to yarn exception excerpts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9357) Add margins to yarn exception excerpts

Shang Yuanchun (Jira)
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)