[ 
https://issues.apache.org/jira/browse/FLINK-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477022#comment-16477022
 ] 

ASF GitHub Bot commented on FLINK-9357:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/6009
  
    merging.


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

Reply via email to