[
https://issues.apache.org/jira/browse/FLINK-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995629#comment-14995629
]
ASF GitHub Bot commented on FLINK-2978:
---------------------------------------
GitHub user sachingoel0101 opened a pull request:
https://github.com/apache/flink/pull/1338
[FLINK-2978][web-dashboard][webclient] Integrate web client into Web
Frontend
This PR creates an interface on the dashboard to perform the tasks the
webclient is doing right now, including displaying plans, submitting jobs and
uploading jars.
Here's a quick summary of changes:
1. GET `/jars/list`: List of all available jars
2. GET `/jars/:jarid/plan`: Plan for a job. Takes `entry-class`,
`parallelism` and `program-args` as query parameters.
3. DELETE `/jars/:jarid`: Delete a jar.
4. POST `/jars/upload`: Upload a new jar, limited to 10 MB size.
5. POST `/jars/:jarid/run`: Run a jar, and takes arguments just as in GET
`/jars/:jarid/plan`.
A new state is introduced on the dashboard, named `submit` which allows all
these operations.
Detailed screenshots:
1. Overview page:

2. Disabled mode [via config key `jobmanager.web.submit.allow`], for
security purposes:

3. Default state with no jars:

4. Uploading a jar:

5. Arguments passing interface for the programs. This is shown only when a
Jar has been selected. At this point, the upload new button disappears, which
can be brought back again by unselecting.
Entry classes can be loaded to the `entry-class` input box by clicking on
the list items under Entry Class.

6. Plan, as a result of `Show Plan` button:

7. Error reporting:
Invalid entry class:

Invalid parallelism:

8. After clicking on submit, if the job was submitted successfully, it
automatically redirects to that job's page.

9. Program arguments:

10. Invalid file uploads:

11. Disallow too large files:

Of course, the best way to get the feel of it is to use it. :') Looking
forward to comments and suggestions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sachingoel0101/flink client
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1338.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 #1338
----
commit 80c538f5a55220a1cf04a8b79f8377fd0a7936b5
Author: Sachin Goel <[email protected]>
Date: 2015-11-05T05:10:44Z
[FLINK-2978][web-dashboard][webclient] Integrate web client into Web
Frontend. Allow security settings to disallow job submission from web.
----
> Integrate web submission interface into the new dashboard
> ---------------------------------------------------------
>
> Key: FLINK-2978
> URL: https://issues.apache.org/jira/browse/FLINK-2978
> Project: Flink
> Issue Type: Bug
> Components: Web Client, Webfrontend
> Reporter: Sachin Goel
> Assignee: Sachin Goel
>
> As discussed in
> http://mail-archives.apache.org/mod_mbox/flink-dev/201511.mbox/%3CCAL3J2zQg6UBKNDnm=8tshpz6r4p2jvx7nrlom7caajrb9s6...@mail.gmail.com%3E,
> we should integrate job submission from the web into the dashboard.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)