Sorry, maybe I didn't explain it clearly.
I want to use "/jars/:jarId/run" to submit a job by using the jar that is
not uploaded from "/jars/upload"
Only jars that uploaded from rest api can be seen from "/jars/" and can
submit the job by using "/jars/:jarId/run"
For example, the instance that run the job manager has a jar (test.jar). It
was not uploaded by using "/jars/:jarId/run". rest api "/jars/" cannot show
that jar.
Is that possible to use "/jars/:jarId/run" to submit a job by using that
jar?

Thanks,
Qihua

On Mon, Nov 22, 2021 at 6:09 PM Caizhi Weng <tsreape...@gmail.com> wrote:

> Hi!
>
> You can try /jars/:jarId/run, see [1]
>
> [1]
> https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/#jars-jarid-run
>
> Qihua Yang <yang...@gmail.com> 于2021年11月23日周二 上午9:27写道:
>
>> Hi,
>>
>> We are running a flink cluster in session mode. After the cluster is
>> launched, no job is running. We want to use REST api to run a job at some
>> point.
>> The jobManager already contains a jar when we deploy. We don't want to
>> upload a new jar by using REST api. Is there any way that I use REST api to
>> run this jar?
>> Looks like REST api only can submit a job by running a jar that was
>> previously uploaded by using REST api.
>>
>> Thanks,
>> Qihua
>>
>

Reply via email to