flink portable client configurations
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
-
FlinkPortableClientEntryPointaccept parameters thatJobServerDrivercan handle. - Add arguments for timeout. (We have this issue with JobManager that have low cpu assigned in k8s).
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers
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).
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
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 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
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
Reminder, please take a look at this pr: @damondouglas
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)