[
https://issues.apache.org/jira/browse/FLINK-8070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261503#comment-16261503
]
ASF GitHub Bot commented on FLINK-8070:
---------------------------------------
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/5012
Also, this particular exception stops at after `Caused by:
java.lang.VerifyError: Inconsistent stackmap frames at branch target 152`
because the next lines don't look like a stack trace.
Here's a snippet:
```
at
org.apache.flink.yarn.YarnApplicationMasterRunner.run(YarnApplicationMasterRunner.java:196)
at
org.apache.flink.yarn.YarnApplicationMasterRunner.main(YarnApplicationMasterRunner.java:123)
Caused by: java.lang.VerifyError: Inconsistent stackmap frames at branch
target 152
Exception Details:
Location:
akka/dispatch/Mailbox.processAllSystemMessages()V @152: getstatic
Reason:
```
> YarnTestBase should print prohibited string
> -------------------------------------------
>
> Key: FLINK-8070
> URL: https://issues.apache.org/jira/browse/FLINK-8070
> Project: Flink
> Issue Type: Improvement
> Components: Tests, YARN
> Affects Versions: 1.4.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Critical
>
> The yarn tests check the log files for a set of prohibited strings. If found,
> the entire log file is logged as WARN, the offending line is logged as ERROR,
> and the test fails with this unhelpful message:
> {code}
> java.lang.AssertionError(Found a file
> /home/travis/build/apache/flink/flink-yarn-tests/target/flink-yarn-tests-fifo/flink-yarn-tests-fifo-logDir-nm-1_0/application_1510164935122_0002/container_1510164935122_0002_01_000001/jobmanager.log
> with a prohibited string: [Exception, Started
> [email protected]:8081])
> {code}
> If you don't have log access on travis you have thus no knowledge what
> actually went wrong.
> I propose to also print smaller excerpts around the found error (like 10
> lines or smth) in the Assert.fail message.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)