[
https://issues.apache.org/jira/browse/FLINK-9771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534639#comment-16534639
]
ASF GitHub Bot commented on FLINK-9771:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/6274
[FLINK-9771][rest] Fix plan JSON response
## What is the purpose of the change
This PR fixes the JSON plan display in the UI. The returned JSON did not
conform to the expected format `{plan:<json_plan>}` and only returned the JSON
plan as is.
Furthermore the `JobPlanInfoTest` was modified to not manually create JSON,
as it wasn't representative of reality due to contained spaces after commas.
## Verifying this change
Manually verified.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 9771
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6274.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6274
----
commit f232def0052f189958f60f3cb53efb527542cf3f
Author: zentol <chesnay@...>
Date: 2018-07-06T09:22:20Z
[FLINK-9771][rest] Fix plan JSON response
----
> "Show Plan" option under Submit New Job in WebUI not working
> --------------------------------------------------------------
>
> Key: FLINK-9771
> URL: https://issues.apache.org/jira/browse/FLINK-9771
> Project: Flink
> Issue Type: Bug
> Components: Job-Submission, Webfrontend
> Affects Versions: 1.5.0, 1.6.0
> Reporter: Yazdan Shirvany
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
>
> {{Show Plan}} button under {{Submit new job}} in WebUI not working.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)