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 <grzebyta....@gmail.com> 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 > > > > >