Skip to content

BEAM-3361 Increase Go gRPC message size#4270

Closed
wcn3 wants to merge 82 commits intoapache:go-sdkfrom
wcn3:max_message_size
Closed

BEAM-3361 Increase Go gRPC message size#4270
wcn3 wants to merge 82 commits intoapache:go-sdkfrom
wcn3:max_message_size

Conversation

@wcn3
Copy link
Contributor

@wcn3 wcn3 commented Dec 15, 2017

Increases the buffer for gRPC messages from 4M to 50M.

Increases the buffer for gRPC messages from 4M to 50M.
@wcn3
Copy link
Contributor Author

wcn3 commented Dec 15, 2017

r:@herohde

@herohde
Copy link
Contributor

herohde commented Dec 15, 2017

Minor comment, otherwise LGTM

log.Infof(ctx, "Connecting via grpc @ %s ...", endpoint)

opts := []grpc.DialOption{grpc.WithInsecure(), grpc.WithBlock()}
opts := []grpc.DialOption{grpc.WithInsecure(), grpc.WithBlock(), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(50 << 20))}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this change in the grpcx helper as well (which this code is incidentally replaced with in #4265).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks for taking care of the timeout change in the new code!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something went sideways with my Git. I'm going to abandon this and try again.

robertwb and others added 26 commits December 18, 2017 11:58
Also add (optional) access to the contexts on serializing and
deserializing pipelines.
It's useful in certain contexts to have Maven direct outputs to
a non-standard location. By using this property, we can allow
for this, while maintaining the default behavior when this property
isn't used.

The derivation for the default value comes from
http://maven.apache.org/pom.html line 32 of the main POM.
This necessitates a dependency on the Core SDK for Coder and WindowedValue.
This is actually unused, and available within java-fn-execution, which
is the preferred module in which to store FnApi libraries.
- Deprecates previous BigtableOptions providing methods.
This expansion to testPrepareJob demonstrates that the returned artifact
staging endpoint does write files to a staging location, and those
staged bytes can be read back.
This reverts commit a4e4431.
The location was set in a profile, which was not the intent.
It's useful in certain contexts to have Maven direct outputs to
a non-standard location. By using this property, we can allow
for this, while maintaining the default behavior when this property
isn't used. This behavior is applied to the base configuration
so it can be used in any profile.

The derivation for the default value comes from
http://maven.apache.org/pom.html line 32 of the main POM.
(I introduced the bug while merging a different PR...)
Also adds a test for the combine fn and exposes the fn.
Documents the difference between any() and fixedSize().
udim and others added 29 commits December 18, 2017 11:58
Example:
+import posixpath
 import StringIO
-import posixpath
 import unittest
beam_runner_api.Environment is the message to use to represent an
execution environment or container.
This is to make them match with the redesign of internal Dataflow intertransform metrics.
This works fine on linux, but fails on Windows machines.
Move to sdks/java/fn-execution. The outbound observers are generally the
same on both ends.
This runs a Pipeline via the Portability Framework.

This runner is not yet implemented. This change exists to construct the
appropriate module.
This brings additional symmetry to the data client and server.

Introduce MultiplexingFnDataReceiver to hide the use of non-closeable
consumers within the SDK Harness.
* Minor changes to the FnApi Runner to allow Java to run.

* Aligned the GBK urn.
* Started a logging service, which Java can't run without.
* Added some logging that was helpful for debugging.
The code incorrectly sets a local variable from the property, so the
value queried in the session code will always be an empty string.
Increases the buffer for gRPC messages from 4M to 50M.
@wcn3 wcn3 closed this Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.