flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Resnick <cre...@gmail.com>
Subject Re: REST api: how to upload jar?
Date Wed, 25 Jan 2017 19:35:41 GMT
Thanks for that, issue here https://issues.apache.org/jira/browse/FLINK-5646

On Tue, Jan 24, 2017 at 11:30 PM, Sachin Goel <sachingoel0101@gmail.com>

> Hey Cliff
> You can upload a jar file using http post with the file data sent under a
> form field 'jarfile'.
> Can you also please open a jira for fixing the documentation?
> - Sachin
> On Jan 25, 2017 06:55, "Cliff Resnick" <cresny@gmail.com> wrote:
>> The 1.2 release documentation (https://ci.apache.org/project
>> s/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. Does this mean that upload is only supported via the web frontend?  I
>> did notice that if I manually upload a jar to the configured upload dir an
>> prepend its name with a uuid it does get recognized and I can POST a job
>> start, but this is messy and I'd rather use the api if supported.
>> -Cliff

View raw message