Re: Application mode deployment through API call

2022-05-24 Thread Shengkai Fang
Hi, Peter. I am not sure whether this doc is enough or not. The doc[1] lists all the available REST API in the Flink runtime now. You can use the RestClient[2] to send request to the JM for later usage. Best, Shengkai [1] https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/ [2

Re: Application mode deployment through API call

2022-05-24 Thread Peter Schrott
Hi Vikash, Could you be more precise about the shared libraries? Is there any documentation about this? Thanks, Peter On Tue, May 24, 2022 at 1:23 PM Vikash Dat wrote: > Similar to agent Biao, Application mode is okay if you only have a single > app, but when running multiple apps session mode

Re: Application mode deployment through API call

2022-05-24 Thread Vikash Dat
Similar to agent Biao, Application mode is okay if you only have a single app, but when running multiple apps session mode is better for control. In my experience, the CLIFrontend is not as robust as the REST API, or you will end up having to rebuild a very similar Rest API. For the meta space issu

Re: Application mode deployment through API call

2022-05-23 Thread Shengkai Fang
Hi, all. > is there any plan in the Flink community to provide an easier way of deploying Flink with application mode on YARN Yes. Jark has already opened a ticket about how to use the sql client to submit the SQL in application mode[1]. What's more, in FLIP-222 we are able to manage the jobs in

Re: Application mode deployment through API call

2022-05-22 Thread Xiao Ma
nning commands like `flink run-application -t >>> yarn-application ….` so REST services are not initially available. As a >>> result, you have to fight with some deployment details like setting >>> environment variables, making classloaders work correctly and so on.

Re: Application mode deployment through API call

2022-05-22 Thread Leon Xu
ly available. As a >> result, you have to fight with some deployment details like setting >> environment variables, making classloaders work correctly and so on. All >> details shaded by flink have to be handled by hand. >> >> >> >> Best, >> >> Biao Ge

Re: Application mode deployment through API call

2022-05-22 Thread Leon Xu
correctly and so on. All > details shaded by flink have to be handled by hand. > > > > Best, > > Biao Geng > > > > *发件人**:* Leon Xu > *日期**:* 星期六, 2022年5月21日 下午2:24 > *收件人**:* user > *主题**:* Application mode deployment through API call > > Hi Flink c

答复: Application mode deployment through API call

2022-05-21 Thread Geng Biao
: Application mode deployment through API call Hi Flink community, I am looking to deploy my flink job through Application Mode in my Java program. Ideally I'd like my java code to just call an API to achieve this. Does flink provide a rest API to support this? I don't seem t

Application mode deployment through API call

2022-05-20 Thread Leon Xu
Hi Flink community, I am looking to deploy my flink job through *Application Mode *in my Java program. Ideally I'd like my java code to just call an API to achieve this. Does flink provide a rest API to support this? I don't seem to find any documentation or code on that. If I need to build this o