beam icon indicating copy to clipboard operation
beam copied to clipboard

flink portable client configurations

Open AyWa opened this issue 1 year ago • 6 comments

Descriptions

Previously made an attempt to solve that in https://github.com/apache/beam/pull/28068/files, but at that time, I didn't have time to follow up. I will try to contribute better to beam (especially for flink runner).

In this PR, we make

  • FlinkPortableClientEntryPoint accept parameters that JobServerDriver can handle.
  • Add arguments for timeout. (We have this issue with JobManager that have low cpu assigned in k8s).

AyWa avatar May 06 '24 14:05 AyWa

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

github-actions[bot] avatar May 06 '24 15:05 github-actions[bot]

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @damondouglas added as fallback since no labels match configuration

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

github-actions[bot] avatar May 12 '24 14:05 github-actions[bot]

Hi @AyWa and @damondouglas

I just wonder when this feature may be available. I need to increase the job submission timeout as my python beam pipeline keeps failing due to the 30 seconds limit.

Or can I have a temporary jar file (beam-runners-flink-1.17-job-server-2.56.0.jar) with this feature until it gets included?

Cheers, Jaehyeon

jaehyeon-kim avatar May 20 '24 11:05 jaehyeon-kim

Hi @AyWa and @damondouglas

I just wonder when this feature may be available. I need to increase the job submission timeout as my python beam pipeline keeps failing due to the 30 seconds limit.

Or can I have a temporary jar file (beam-runners-flink-1.17-job-server-2.56.0.jar) with this feature until it gets included?

Cheers, Jaehyeon

Hey,

It is possible to build the jar, I am a bit busy today, but I will try to come back to you soon.

A temporary option is to increase cpu allocation of the job manager. (It is how I temporary fixed it in my k8s cluster)

AyWa avatar May 20 '24 13:05 AyWa

Hi @AyWa and @damondouglas I just wonder when this feature may be available. I need to increase the job submission timeout as my python beam pipeline keeps failing due to the 30 seconds limit. Or can I have a temporary jar file (beam-runners-flink-1.17-job-server-2.56.0.jar) with this feature until it gets included? Cheers, Jaehyeon

Hey,

It is possible to build the jar, I am a bit busy today, but I will try to come back to you soon.

A temporary option is to increase cpu allocation of the job manager. (It is how I temporary fixed it in my k8s cluster)

Hi @AyWa

Thanks for your reply. I'm trying to deploy a python pipeline to a minikube cluster and I don't have much luck by adjusting cpu allocation. It'll be great if the jar file is shared or I'm informed of how to build it.

Cheers, Jaehyeon

jaehyeon-kim avatar May 20 '24 22:05 jaehyeon-kim

Hi @AyWa and @damondouglas I just wonder when this feature may be available. I need to increase the job submission timeout as my python beam pipeline keeps failing due to the 30 seconds limit. Or can I have a temporary jar file (beam-runners-flink-1.17-job-server-2.56.0.jar) with this feature until it gets included? Cheers, Jaehyeon

Hey, It is possible to build the jar, I am a bit busy today, but I will try to come back to you soon. A temporary option is to increase cpu allocation of the job manager. (It is how I temporary fixed it in my k8s cluster)

Hi @AyWa

Thanks for your reply. I'm trying to deploy a python pipeline to a minikube cluster and I don't have much luck by adjusting cpu allocation. It'll be great if the jar file is shared or I'm informed of how to build it.

Cheers, Jaehyeon

Not sure it is the best way, but this is how I am doing: You can run ./gradlew :runners:flink:1.16:job-server-container:docker on my branch. It will create a docker image (change the flink version that you are targetting). In docker file of flink, I do a docker copy of /opt/apache/beam_job_server

AyWa avatar May 20 '24 23:05 AyWa

Reminder, please take a look at this pr: @damondouglas

github-actions[bot] avatar May 28 '24 12:05 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @damondouglas added as fallback since no labels match configuration

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar May 30 '24 12:05 github-actions[bot]