flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8912) Web UI does not render error messages correctly in FLIP-6 mode
Date Fri, 23 Mar 2018 10:15:02 GMT

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

Till Rohrmann commented on FLINK-8912:
--------------------------------------

We should fix this issue but not block the release on it. 

> Web UI does not render error messages correctly in FLIP-6 mode
> --------------------------------------------------------------
>
>                 Key: FLINK-8912
>                 URL: https://issues.apache.org/jira/browse/FLINK-8912
>             Project: Flink
>          Issue Type: Bug
>          Components: Webfrontend
>    Affects Versions: 1.5.0, 1.6.0
>         Environment: commit: c531486288caf5241cdf7f0f00f087f3ce82239f
>            Reporter: Gary Yao
>            Priority: Blocker
>              Labels: flip6
>             Fix For: 1.5.0
>
>
> *Description*
> The Web UI renders error messages returned by the REST API incorrectly, e.g., on the
job submission page. The JSON returned by the REST API is rendered as a whole. However, the
UI should only render the contents of the {{errors}} field.
> *Steps to reproduce*
> Submit {{examples/streaming/SocketWindowWordCount.jar}} without specifying program arguments.
Error message will be rendered as follows:
> {noformat}
> {"errors":["org.apache.flink.client.program.ProgramInvocationException: The program plan
could not be fetched - the program aborted pre-maturely.\n\nSystem.err: (none)\n\nSystem.out:
No port specified. Please run 'SocketWindowWordCount --hostname <hostname> --port <port>',
where hostname (localhost by default) and port is the address of the text server\nTo start
a simple text server, run 'netcat -l <port>' and type the input text into the command
line\n"]}
> {noformat}
> Note that flip6 mode must be enabled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message