Hi Tim,

I have the similar scenario where I have embedded my jar within the image.

I used the following command to submit the job :

curl -X POST  http://localhost:8081/jars/<jar-name>.jar/run
<http://localhost:8081/jars/28f05eb0-9aab-4a18-ae66-f1e10970c11f_soar-ueba-training-service.jar/run>

with the request parameters if any.


Please let me know if this helps.


Regards,

Pritam.

On Sat, 19 Oct 2019 at 20:06, Timothy Victor <vict...@gmail.com> wrote:

> I have a flink docker image with my job's JAR already contained within.  I
> would like to run a job with this jar via the REST api.  Is that possible?
>
> I know I can run a job via REST using JarID (ID assigned by flink when a
> jar is uploaded).   However I don't have such an ID since this jar is
> already part of the image.
>
> Via CLI I can start a job using classpath.  But can I do the same via the
> REST api.   Any other ways to achieve this?
>
> Thanks
>
> Tim
>

Reply via email to