flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sachingoel0101 <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2978][web-dashboard][webclient] Integra...
Date Sun, 08 Nov 2015 13:36:21 GMT
GitHub user sachingoel0101 opened a pull request:


    [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:


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 <sachingoel0101@gmail.com>
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.


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message