You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Jacek Grzebyta <gr...@gmail.com> on 2020/08/13 13:23:25 UTC

Client's documentation for deploy and run remotely.

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

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

Posted by Till Rohrmann <tr...@apache.org>.
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 <po...@okkam.it>
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 <gr...@gmail.com>
> 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 <gr...@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
>>>
>>>
>>>
>>>
>>>

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

Posted by Flavio Pompermaier <po...@okkam.it>.
I agree with you that that part of the docs is quite outdated..

On Thu, Aug 13, 2020 at 4:55 PM Jacek Grzebyta <gr...@gmail.com>
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 <gr...@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
>>
>>
>>
>>
>>

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

Posted by Jacek Grzebyta <gr...@gmail.com>.
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 <gr...@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
>
>
>
>
>