Client's documentation for deploy and run remotely.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Client's documentation for deploy and run remotely.

Jacek Grzebyta
Hi,

I have a problem with some examples in the documentation. Particularly I meant about that paragraph: https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/parallel.html#client-level

In the code there are used classes such as: Client and RemoteExecutor. I found those classes in the Flink ver 1.11 but they have very different usage and methods` signatures. It seems the page/paragraph is very outdated, alternatively the example is accurate but there were not added imports so I do not use correct modules/packages.

Basically my problem I need to solve is to deploy a jar into a flink cluster and run a program remotely. I hope to use flink-clients_2.11 to solve this problem but with no success. This code is a part of a web service so it should be done programmatically. Otherwise I can do direct requests to the Monitoring REST API. But I prefer not to. 

Is it possible to find some better code examples for flink-client? 

Regards,
Jacek




Reply | Threaded
Open this post in threaded view
|

Re: Client's documentation for deploy and run remotely.

Jacek Grzebyta
It seems the documentation might be outdated. Probably I found what I wanted in different request: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Submit-Flink-1-11-job-from-java-td37245.html

Cheers,
Jacek

On Thu, 13 Aug 2020 at 14:23, Jacek Grzebyta <[hidden email]> wrote:
Hi,

I have a problem with some examples in the documentation. Particularly I meant about that paragraph: https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/parallel.html#client-level

In the code there are used classes such as: Client and RemoteExecutor. I found those classes in the Flink ver 1.11 but they have very different usage and methods` signatures. It seems the page/paragraph is very outdated, alternatively the example is accurate but there were not added imports so I do not use correct modules/packages.

Basically my problem I need to solve is to deploy a jar into a flink cluster and run a program remotely. I hope to use flink-clients_2.11 to solve this problem but with no success. This code is a part of a web service so it should be done programmatically. Otherwise I can do direct requests to the Monitoring REST API. But I prefer not to. 

Is it possible to find some better code examples for flink-client? 

Regards,
Jacek




Reply | Threaded
Open this post in threaded view
|

Re: Client's documentation for deploy and run remotely.

Flavio Pompermaier
I agree with you that that part of the docs is quite outdated..

On Thu, Aug 13, 2020 at 4:55 PM Jacek Grzebyta <[hidden email]> wrote:
It seems the documentation might be outdated. Probably I found what I wanted in different request: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Submit-Flink-1-11-job-from-java-td37245.html

Cheers,
Jacek

On Thu, 13 Aug 2020 at 14:23, Jacek Grzebyta <[hidden email]> wrote:
Hi,

I have a problem with some examples in the documentation. Particularly I meant about that paragraph: https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/parallel.html#client-level

In the code there are used classes such as: Client and RemoteExecutor. I found those classes in the Flink ver 1.11 but they have very different usage and methods` signatures. It seems the page/paragraph is very outdated, alternatively the example is accurate but there were not added imports so I do not use correct modules/packages.

Basically my problem I need to solve is to deploy a jar into a flink cluster and run a program remotely. I hope to use flink-clients_2.11 to solve this problem but with no success. This code is a part of a web service so it should be done programmatically. Otherwise I can do direct requests to the Monitoring REST API. But I prefer not to. 

Is it possible to find some better code examples for flink-client? 

Regards,
Jacek




Reply | Threaded
Open this post in threaded view
|

Re: Client's documentation for deploy and run remotely.

Till Rohrmann
Hi Jacek and Flavio,

I agree that this documentation is quite outdated. Pulling in Klou and Aljoscha who have reworked the client side of Flink quite a bit recently. They might be able to point you towards the updated documentation or the plans on how and when to update it.

Cheers,
Till

On Wed, Aug 19, 2020 at 11:13 AM Flavio Pompermaier <[hidden email]> wrote:
I agree with you that that part of the docs is quite outdated..

On Thu, Aug 13, 2020 at 4:55 PM Jacek Grzebyta <[hidden email]> wrote:
It seems the documentation might be outdated. Probably I found what I wanted in different request: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Submit-Flink-1-11-job-from-java-td37245.html

Cheers,
Jacek

On Thu, 13 Aug 2020 at 14:23, Jacek Grzebyta <[hidden email]> wrote:
Hi,

I have a problem with some examples in the documentation. Particularly I meant about that paragraph: https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/parallel.html#client-level

In the code there are used classes such as: Client and RemoteExecutor. I found those classes in the Flink ver 1.11 but they have very different usage and methods` signatures. It seems the page/paragraph is very outdated, alternatively the example is accurate but there were not added imports so I do not use correct modules/packages.

Basically my problem I need to solve is to deploy a jar into a flink cluster and run a program remotely. I hope to use flink-clients_2.11 to solve this problem but with no success. This code is a part of a web service so it should be done programmatically. Otherwise I can do direct requests to the Monitoring REST API. But I prefer not to. 

Is it possible to find some better code examples for flink-client? 

Regards,
Jacek