Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5646

REST api documentation missing details on jar upload

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      The 1.2 release documentation (https://ci.apache.org/projects/flink/flink-docs-release-1.2/monitoring/rest_api.html) states "It is possible to upload, run, and list Flink programs via the REST APIs and web frontend". However there is no documentation about uploading a jar via REST api.
      There should be something to the effect of:
      "You can upload a jar file using http post with the file data sent under a form field 'jarfile'."

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user hamstah opened a pull request:

          https://github.com/apache/flink/pull/3722

          FLINK-5646 Document JAR upload with the REST API

          Hi,
          It took me a while to get my upload working so I thought I would fix the documentation to help others.
          I wasn't sure if code examples in other languages where allowed so I didn't include any, but I have a python example I could add if you think it would be useful.

          Thanks!

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/hamstah/flink flink-5646-update-upload-docs

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/flink/pull/3722.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 #3722


          commit 41b52f20cb64125fb4453a4adfbee3c4dbd7acae
          Author: hamstah <hamstahguru@gmail.com>
          Date: 2017-04-15T14:34:14Z

          FLINK-5646 Document JAR upload with the REST API


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user hamstah opened a pull request: https://github.com/apache/flink/pull/3722 FLINK-5646 Document JAR upload with the REST API Hi, It took me a while to get my upload working so I thought I would fix the documentation to help others. I wasn't sure if code examples in other languages where allowed so I didn't include any, but I have a python example I could add if you think it would be useful. Thanks! You can merge this pull request into a Git repository by running: $ git pull https://github.com/hamstah/flink flink-5646-update-upload-docs Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3722.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 #3722 commit 41b52f20cb64125fb4453a4adfbee3c4dbd7acae Author: hamstah <hamstahguru@gmail.com> Date: 2017-04-15T14:34:14Z FLINK-5646 Document JAR upload with the REST API
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user StephanEwen commented on the issue:

          https://github.com/apache/flink/pull/3722

          Looks good, thanks.
          Merging this...

          Show
          githubbot ASF GitHub Bot added a comment - Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3722 Looks good, thanks. Merging this...
          Hide
          StephanEwen Stephan Ewen added a comment -

          Fixed via 97ca03a0dc7f9444d40ea884bfb1e0305d6703e2

          Show
          StephanEwen Stephan Ewen added a comment - Fixed via 97ca03a0dc7f9444d40ea884bfb1e0305d6703e2
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/flink/pull/3722

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/3722

            People

            • Assignee:
              Unassigned
              Reporter:
              cresny@gmail.com Cliff Resnick
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development