Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-10458] Message limit for grpc message is set to default 4 MB #12228

Closed
wants to merge 1 commit into from

Conversation

kshivvy
Copy link
Contributor

@kshivvy kshivvy commented Jul 10, 2020

The default limit of a grpc message is set low to 4 MB, and is not overridden in the sdk_worker.py for the _control_channel. This was first discovered when submitting a beam job via a flink operator orchestrated by kubernetes (seen by running TFX benchmarks) This was fixed by modifying the options parameter to allow any size grpc message to be sent or received.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang --- --- Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@kshivvy
Copy link
Contributor Author

kshivvy commented Jul 10, 2020

R: @charlesccychen

@kshivvy kshivvy changed the title Increased sent/recieve message limit for GRPC factory [BEAM-10334] Message limit for grpc message is set to default 4 MB Jul 10, 2020
@kshivvy kshivvy changed the title [BEAM-10334] Message limit for grpc message is set to default 4 MB [BEAM-10458] Message limit for grpc message is set to default 4 MB Jul 10, 2020
@tvalentyn
Copy link
Contributor

@ananvay @lukecwik do you know if we need to adjust maximum message size on the harness as well?

@ananvay
Copy link
Contributor

ananvay commented Jul 23, 2020

I think we've done something similar for the Go SDK Harness already, so we should be set. @lostluck to confirm.
I'm surprised we missed the python side of things.

@charlesccychen
Copy link
Contributor

We should drop this PR because it is against the 2.22 release branch. The corresponding PR for master was already merged: #12104.

@tvalentyn
Copy link
Contributor

tvalentyn commented Jul 23, 2020

Good catch, @charlesccychen . Thanks!

@tvalentyn tvalentyn closed this Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants