You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ho...@apache.org on 2024/06/04 10:48:48 UTC

(flink) branch master updated: [hotfix] Revert "[FLINK-35282][python] Upgrade pyarrow and beam" due to CI failures

This is an automated email from the ASF dual-hosted git repository.

hong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new caa68c2481f [hotfix] Revert "[FLINK-35282][python] Upgrade pyarrow and beam" due to CI failures
caa68c2481f is described below

commit caa68c2481f7c483d0364206d36654af26f2074f
Author: Hong Teoh <li...@amazon.com>
AuthorDate: Tue Jun 4 11:47:29 2024 +0100

    [hotfix] Revert "[FLINK-35282][python] Upgrade pyarrow and beam" due to CI failures
    
    This reverts commit 91a9e06d3cb611e048274088e56b2c110cd29926.
---
 docs/content.zh/docs/deployment/cli.md             |  2 +-
 docs/content.zh/docs/dev/table/sqlClient.md        |  2 +-
 docs/content/docs/deployment/cli.md                |  2 +-
 docs/content/docs/dev/table/sqlClient.md           |  2 +-
 .../shortcodes/generated/python_configuration.html |  2 +-
 .../apache/flink/client/cli/CliFrontendParser.java |  2 +-
 flink-python/README.md                             |  2 +-
 .../datastream/stream_execution_environment.py     |  2 +-
 flink-python/pyflink/table/table_config.py         |  2 +-
 flink-python/pyproject.toml                        |  2 +-
 flink-python/setup.py                              |  4 +-
 .../control/DefaultJobBundleFactory.java           | 20 +++----
 .../fnexecution/state/GrpcStateService.java        |  6 +-
 .../apache/beam/sdk/fn/server/ServerFactory.java   | 30 +++++-----
 .../io/grpc/internal/SharedResourceHolder.java     |  4 +-
 .../org/apache/flink/python/PythonOptions.java     |  2 +-
 .../metric/process/FlinkMetricContainer.java       |  2 +-
 .../org/apache/flink/python/util/ProtoUtils.java   |  2 +-
 .../beam/BeamDataStreamPythonFunctionRunner.java   |  4 +-
 .../python/beam/BeamPythonFunctionRunner.java      | 10 ++--
 .../python/beam/state/BeamBagStateHandler.java     |  2 +-
 .../python/beam/state/BeamMapStateHandler.java     |  2 +-
 .../python/beam/state/BeamStateRequestHandler.java |  4 +-
 .../python/beam/BeamTablePythonFunctionRunner.java |  2 +-
 flink-python/src/main/resources/META-INF/NOTICE    | 66 +++++++++++-----------
 .../metric/process/FlinkMetricContainerTest.java   |  2 +-
 .../PassThroughPythonAggregateFunctionRunner.java  |  2 +-
 .../PassThroughPythonScalarFunctionRunner.java     |  2 +-
 .../PassThroughPythonTableFunctionRunner.java      |  2 +-
 ...ThroughStreamAggregatePythonFunctionRunner.java |  2 +-
 ...amGroupWindowAggregatePythonFunctionRunner.java |  2 +-
 ...ghStreamTableAggregatePythonFunctionRunner.java |  2 +-
 pom.xml                                            |  2 +-
 33 files changed, 98 insertions(+), 98 deletions(-)

diff --git a/docs/content.zh/docs/deployment/cli.md b/docs/content.zh/docs/deployment/cli.md
index ebd326c82d6..7acb433dcee 100644
--- a/docs/content.zh/docs/deployment/cli.md
+++ b/docs/content.zh/docs/deployment/cli.md
@@ -597,7 +597,7 @@ related options. Here's an overview of all the Python related options for the ac
             <td>
                 Specify the path of the python interpreter used to execute the python UDF worker
                 (e.g.: --pyExecutable /usr/local/bin/python3).
-                The python UDF worker depends on Python 3.8+, Apache Beam (version >= 2.52.0),
+                The python UDF worker depends on Python 3.8+, Apache Beam (version == 2.43.0),
                 Pip (version >= 20.3) and SetupTools (version >= 37.0.0).
                 Please ensure that the specified environment meets the above requirements.
             </td>
diff --git a/docs/content.zh/docs/dev/table/sqlClient.md b/docs/content.zh/docs/dev/table/sqlClient.md
index 4e121844d46..c29d30a0228 100644
--- a/docs/content.zh/docs/dev/table/sqlClient.md
+++ b/docs/content.zh/docs/dev/table/sqlClient.md
@@ -322,7 +322,7 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
                                                 /usr/local/bin/python3). The
                                                 python UDF worker depends on
                                                 Python 3.8+, Apache Beam
-                                                (version >= 2.52.0), Pip
+                                                (version == 2.43.0), Pip
                                                 (version >= 20.3) and SetupTools
                                                 (version >= 37.0.0). Please
                                                 ensure that the specified
diff --git a/docs/content/docs/deployment/cli.md b/docs/content/docs/deployment/cli.md
index 1b75278c479..80ca0460497 100644
--- a/docs/content/docs/deployment/cli.md
+++ b/docs/content/docs/deployment/cli.md
@@ -595,7 +595,7 @@ related options. Here's an overview of all the Python related options for the ac
             <td>
                 Specify the path of the python interpreter used to execute the python UDF worker
                 (e.g.: --pyExecutable /usr/local/bin/python3).
-                The python UDF worker depends on Python 3.8+, Apache Beam (version >= 2.52.0),
+                The python UDF worker depends on Python 3.8+, Apache Beam (version == 2.43.0),
                 Pip (version >= 20.3) and SetupTools (version >= 37.0.0).
                 Please ensure that the specified environment meets the above requirements.
             </td>
diff --git a/docs/content/docs/dev/table/sqlClient.md b/docs/content/docs/dev/table/sqlClient.md
index 20b0bdcfe91..a3ba08084b2 100644
--- a/docs/content/docs/dev/table/sqlClient.md
+++ b/docs/content/docs/dev/table/sqlClient.md
@@ -260,7 +260,7 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
                                                 /usr/local/bin/python3). The
                                                 python UDF worker depends on
                                                 Python 3.8+, Apache Beam
-                                                (version >= 2.52.0), Pip
+                                                (version == 2.43.0), Pip
                                                 (version >= 20.3) and SetupTools
                                                 (version >= 37.0.0). Please
                                                 ensure that the specified
diff --git a/docs/layouts/shortcodes/generated/python_configuration.html b/docs/layouts/shortcodes/generated/python_configuration.html
index cbcb61bbaa3..d99c1f2a3b9 100644
--- a/docs/layouts/shortcodes/generated/python_configuration.html
+++ b/docs/layouts/shortcodes/generated/python_configuration.html
@@ -24,7 +24,7 @@
             <td><h5>python.executable</h5></td>
             <td style="word-wrap: break-word;">"python"</td>
             <td>String</td>
-	    <td>Specify the path of the python interpreter used to execute the python UDF worker. The python UDF worker depends on Python 3.8+, Apache Beam (version &gt;= 2.52.0), Pip (version &gt;= 20.3) and SetupTools (version &gt;= 37.0.0). Please ensure that the specified environment meets the above requirements. The option is equivalent to the command line option "-pyexec".</td>
+            <td>Specify the path of the python interpreter used to execute the python UDF worker. The python UDF worker depends on Python 3.8+, Apache Beam (version == 2.43.0), Pip (version &gt;= 20.3) and SetupTools (version &gt;= 37.0.0). Please ensure that the specified environment meets the above requirements. The option is equivalent to the command line option "-pyexec".</td>
         </tr>
         <tr>
             <td><h5>python.execution-mode</h5></td>
diff --git a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
index 86725383960..886bb17f34f 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
@@ -290,7 +290,7 @@ public class CliFrontendParser {
                     true,
                     "Specify the path of the python interpreter used to execute the python UDF worker "
                             + "(e.g.: --pyExecutable /usr/local/bin/python3). "
-                            + "The python UDF worker depends on Python 3.8+, Apache Beam (version >= 2.52.0), "
+                            + "The python UDF worker depends on Python 3.8+, Apache Beam (version == 2.43.0), "
                             + "Pip (version >= 20.3) and SetupTools (version >= 37.0.0). "
                             + "Please ensure that the specified environment meets the above requirements.");
 
diff --git a/flink-python/README.md b/flink-python/README.md
index 3a100663c52..f8daeefd212 100644
--- a/flink-python/README.md
+++ b/flink-python/README.md
@@ -26,7 +26,7 @@ The auto-generated Python docs can be found at [https://nightlies.apache.org/fli
 
 ## Python Requirements
 
-Apache Flink Python API depends on Py4J (currently version 0.10.9.7), CloudPickle (currently version 2.2.0), python-dateutil (currently version >=2.8.0,<3), Apache Beam (currently version >=2.52.0).
+Apache Flink Python API depends on Py4J (currently version 0.10.9.7), CloudPickle (currently version 2.2.0), python-dateutil (currently version >=2.8.0,<3), Apache Beam (currently version >=2.43.0,<2.49.0).
 
 ## Development Notices
 
diff --git a/flink-python/pyflink/datastream/stream_execution_environment.py b/flink-python/pyflink/datastream/stream_execution_environment.py
index f8339a7bff6..ce84e94ec0e 100644
--- a/flink-python/pyflink/datastream/stream_execution_environment.py
+++ b/flink-python/pyflink/datastream/stream_execution_environment.py
@@ -747,7 +747,7 @@ class StreamExecutionEnvironment(object):
 
         .. note::
 
-            The python udf worker depends on Apache Beam (version >= 2.52.0).
+            The python udf worker depends on Apache Beam (version == 2.43.0).
             Please ensure that the specified environment meets the above requirements.
 
         :param python_exec: The path of python interpreter.
diff --git a/flink-python/pyflink/table/table_config.py b/flink-python/pyflink/table/table_config.py
index af5b91641f3..ba17767c776 100644
--- a/flink-python/pyflink/table/table_config.py
+++ b/flink-python/pyflink/table/table_config.py
@@ -332,7 +332,7 @@ class TableConfig(object):
 
         .. note::
 
-            The python udf worker depends on Apache Beam (version >= 2.52.0).
+            The python udf worker depends on Apache Beam (version == 2.43.0).
             Please ensure that the specified environment meets the above requirements.
 
         :param python_exec: The path of python interpreter.
diff --git a/flink-python/pyproject.toml b/flink-python/pyproject.toml
index 40bbf4938fc..c21b2fccd5e 100644
--- a/flink-python/pyproject.toml
+++ b/flink-python/pyproject.toml
@@ -21,7 +21,7 @@ requires = [
     "packaging>=20.5; platform_machine=='arm64'",  # macos M1
     "setuptools>=18.0",
     "wheel",
-    "apache-beam>=2.52.0",
+    "apache-beam>=2.43.0,<2.49.0",
     "cython>=0.29.24",
     "fastavro>=1.1.0,!=1.8.0"
 ]
diff --git a/flink-python/setup.py b/flink-python/setup.py
index 872bd57a24a..e5e1e231b22 100644
--- a/flink-python/setup.py
+++ b/flink-python/setup.py
@@ -317,13 +317,13 @@ try:
         'pyflink.bin': ['*']}
 
     install_requires = ['py4j==0.10.9.7', 'python-dateutil>=2.8.0,<3',
-                        'apache-beam>=2.52.0',
+                        'apache-beam>=2.43.0,<2.49.0',
                         'cloudpickle>=2.2.0', 'avro-python3>=1.8.1,!=1.9.2',
                         'pytz>=2018.3', 'fastavro>=1.1.0,!=1.8.0', 'requests>=2.26.0',
                         'protobuf>=3.19.0',
                         'numpy>=1.22.4',
                         'pandas>=1.3.0',
-                        'pyarrow>=14.0.1',
+                        'pyarrow>=5.0.0',
                         'pemja==0.4.1;platform_system != "Windows"',
                         'httplib2>=0.19.0',
                         'ruamel.yaml>=0.18.4',
diff --git a/flink-python/src/main/java/org/apache/beam/runners/fnexecution/control/DefaultJobBundleFactory.java b/flink-python/src/main/java/org/apache/beam/runners/fnexecution/control/DefaultJobBundleFactory.java
index 78ada6c0c43..b55945844c8 100644
--- a/flink-python/src/main/java/org/apache/beam/runners/fnexecution/control/DefaultJobBundleFactory.java
+++ b/flink-python/src/main/java/org/apache/beam/runners/fnexecution/control/DefaultJobBundleFactory.java
@@ -56,16 +56,16 @@ import org.apache.beam.sdk.options.PipelineOptions;
 import org.apache.beam.sdk.options.PortablePipelineOptions;
 import org.apache.beam.sdk.util.NoopLock;
 import org.apache.beam.sdk.values.KV;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.annotations.VisibleForTesting;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.MoreObjects;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Preconditions;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.cache.CacheBuilder;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.cache.CacheLoader;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.cache.LoadingCache;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableList;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableMap;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Iterables;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Sets;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.annotations.VisibleForTesting;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.MoreObjects;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Preconditions;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.CacheBuilder;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.CacheLoader;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.LoadingCache;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.ImmutableList;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.ImmutableMap;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.Iterables;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.Sets;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
diff --git a/flink-python/src/main/java/org/apache/beam/runners/fnexecution/state/GrpcStateService.java b/flink-python/src/main/java/org/apache/beam/runners/fnexecution/state/GrpcStateService.java
index cf5b8d0ae68..1eb1d472e3b 100644
--- a/flink-python/src/main/java/org/apache/beam/runners/fnexecution/state/GrpcStateService.java
+++ b/flink-python/src/main/java/org/apache/beam/runners/fnexecution/state/GrpcStateService.java
@@ -21,8 +21,8 @@ import org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest;
 import org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse;
 import org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc;
 import org.apache.beam.sdk.fn.server.FnService;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.stub.ServerCallStreamObserver;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.stub.StreamObserver;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.stub.ServerCallStreamObserver;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.stub.StreamObserver;
 
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.CompletionStage;
@@ -30,7 +30,7 @@ import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentLinkedQueue;
 import java.util.concurrent.ConcurrentMap;
 
-import static org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Throwables.getStackTraceAsString;
+import static org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Throwables.getStackTraceAsString;
 
 /** An implementation of the Beam Fn State service. */
 public class GrpcStateService extends BeamFnStateGrpc.BeamFnStateImplBase
diff --git a/flink-python/src/main/java/org/apache/beam/sdk/fn/server/ServerFactory.java b/flink-python/src/main/java/org/apache/beam/sdk/fn/server/ServerFactory.java
index 6a495313521..0653cdf7f81 100644
--- a/flink-python/src/main/java/org/apache/beam/sdk/fn/server/ServerFactory.java
+++ b/flink-python/src/main/java/org/apache/beam/sdk/fn/server/ServerFactory.java
@@ -19,17 +19,17 @@ package org.apache.beam.sdk.fn.server;
 
 import org.apache.beam.model.pipeline.v1.Endpoints;
 import org.apache.beam.sdk.fn.channel.SocketAddressFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.BindableService;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.Server;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.ServerBuilder;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.ServerInterceptors;
-import org.apache.beam.vendor.grpc.v1p54p0.io.grpc.netty.NettyServerBuilder;
-import org.apache.beam.vendor.grpc.v1p54p0.io.netty.channel.epoll.EpollEventLoopGroup;
-import org.apache.beam.vendor.grpc.v1p54p0.io.netty.channel.epoll.EpollServerDomainSocketChannel;
-import org.apache.beam.vendor.grpc.v1p54p0.io.netty.channel.epoll.EpollServerSocketChannel;
-import org.apache.beam.vendor.grpc.v1p54p0.io.netty.channel.unix.DomainSocketAddress;
-import org.apache.beam.vendor.grpc.v1p54p0.io.netty.util.internal.ThreadLocalRandom;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.net.HostAndPort;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.Server;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.ServerBuilder;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.ServerInterceptors;
+import org.apache.beam.vendor.grpc.v1p48p1.io.grpc.netty.NettyServerBuilder;
+import org.apache.beam.vendor.grpc.v1p48p1.io.netty.channel.epoll.EpollEventLoopGroup;
+import org.apache.beam.vendor.grpc.v1p48p1.io.netty.channel.epoll.EpollServerDomainSocketChannel;
+import org.apache.beam.vendor.grpc.v1p48p1.io.netty.channel.epoll.EpollServerSocketChannel;
+import org.apache.beam.vendor.grpc.v1p48p1.io.netty.channel.unix.DomainSocketAddress;
+import org.apache.beam.vendor.grpc.v1p48p1.io.netty.util.internal.ThreadLocalRandom;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.net.HostAndPort;
 
 import java.io.File;
 import java.io.IOException;
@@ -40,7 +40,7 @@ import java.util.List;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Supplier;
 
-import static org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Preconditions.checkArgument;
+import static org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Preconditions.checkArgument;
 
 // This class is copied from Beam's org.apache.beam.sdk.fn.server.ServerFactory,
 // can be removed after https://github.com/apache/beam/issues/21598 is fixed.
@@ -161,7 +161,7 @@ public abstract class ServerFactory {
                             // Set the message size to max value here. The actual size is governed
                             // by the
                             // buffer size in the layers above.
-                            .maxInboundMessageSize(Integer.MAX_VALUE)
+                            .maxMessageSize(Integer.MAX_VALUE)
                             .permitKeepAliveTime(KEEP_ALIVE_TIME_SEC, TimeUnit.SECONDS);
             services.stream()
                     .forEach(
@@ -223,7 +223,7 @@ public abstract class ServerFactory {
                             .channelType(EpollServerDomainSocketChannel.class)
                             .workerEventLoopGroup(new EpollEventLoopGroup())
                             .bossEventLoopGroup(new EpollEventLoopGroup())
-                            .maxInboundMessageSize(Integer.MAX_VALUE)
+                            .maxMessageSize(Integer.MAX_VALUE)
                             .permitKeepAliveTime(KEEP_ALIVE_TIME_SEC, TimeUnit.SECONDS);
             for (BindableService service : services) {
                 // Wrap the service to extract headers
@@ -276,7 +276,7 @@ public abstract class ServerFactory {
                             .channelType(EpollServerSocketChannel.class)
                             .workerEventLoopGroup(new EpollEventLoopGroup())
                             .bossEventLoopGroup(new EpollEventLoopGroup())
-                            .maxInboundMessageSize(Integer.MAX_VALUE)
+                            .maxMessageSize(Integer.MAX_VALUE)
                             .permitKeepAliveTime(KEEP_ALIVE_TIME_SEC, TimeUnit.SECONDS);
             for (BindableService service : services) {
                 // Wrap the service to extract headers
diff --git a/flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p54p0/io/grpc/internal/SharedResourceHolder.java b/flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p48p1/io/grpc/internal/SharedResourceHolder.java
similarity index 98%
rename from flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p54p0/io/grpc/internal/SharedResourceHolder.java
rename to flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p48p1/io/grpc/internal/SharedResourceHolder.java
index a77323fe84d..ab08ce1f850 100644
--- a/flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p54p0/io/grpc/internal/SharedResourceHolder.java
+++ b/flink-python/src/main/java/org/apache/beam/vendor/grpc/v1p48p1/io/grpc/internal/SharedResourceHolder.java
@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
-package org.apache.beam.vendor.grpc.v1p54p0.io.grpc.internal;
+package org.apache.beam.vendor.grpc.v1p48p1.io.grpc.internal;
 
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.common.base.Preconditions;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.common.base.Preconditions;
 
 import javax.annotation.concurrent.ThreadSafe;
 
diff --git a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
index 91bd8c302de..142457bd19c 100644
--- a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
+++ b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
@@ -160,7 +160,7 @@ public class PythonOptions {
                     .withDescription(
                             "Specify the path of the python interpreter used to execute the python "
                                     + "UDF worker. The python UDF worker depends on Python 3.8+, Apache Beam "
-                                    + "(version >= 2.52.0), Pip (version >= 20.3) and SetupTools (version >= 37.0.0). "
+                                    + "(version == 2.43.0), Pip (version >= 20.3) and SetupTools (version >= 37.0.0). "
                                     + "Please ensure that the specified environment meets the above requirements. The "
                                     + "option is equivalent to the command line option \"-pyexec\".");
 
diff --git a/flink-python/src/main/java/org/apache/flink/python/metric/process/FlinkMetricContainer.java b/flink-python/src/main/java/org/apache/flink/python/metric/process/FlinkMetricContainer.java
index ec5e7a9e502..4759fc54221 100644
--- a/flink-python/src/main/java/org/apache/flink/python/metric/process/FlinkMetricContainer.java
+++ b/flink-python/src/main/java/org/apache/flink/python/metric/process/FlinkMetricContainer.java
@@ -19,7 +19,6 @@
 package org.apache.flink.python.metric.process;
 
 import org.apache.flink.annotation.Internal;
-import org.apache.flink.annotation.VisibleForTesting;
 import org.apache.flink.configuration.GlobalConfiguration;
 import org.apache.flink.configuration.MetricOptions;
 import org.apache.flink.metrics.Counter;
@@ -44,6 +43,7 @@ import org.apache.beam.sdk.metrics.MetricQueryResults;
 import org.apache.beam.sdk.metrics.MetricResult;
 import org.apache.beam.sdk.metrics.MetricResults;
 import org.apache.beam.sdk.metrics.MetricsFilter;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.annotations.VisibleForTesting;
 
 import java.util.ArrayList;
 import java.util.HashMap;
diff --git a/flink-python/src/main/java/org/apache/flink/python/util/ProtoUtils.java b/flink-python/src/main/java/org/apache/flink/python/util/ProtoUtils.java
index 0cbf59274b2..f720f827142 100644
--- a/flink-python/src/main/java/org/apache/flink/python/util/ProtoUtils.java
+++ b/flink-python/src/main/java/org/apache/flink/python/util/ProtoUtils.java
@@ -58,7 +58,7 @@ public enum ProtoUtils {
                         RunnerApi.FunctionSpec.newBuilder()
                                 .setUrn(FLINK_CODER_URN)
                                 .setPayload(
-                                        org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf
+                                        org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf
                                                 .ByteString.copyFrom(
                                                 coderInfoDescriptor.toByteArray()))
                                 .build())
diff --git a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamDataStreamPythonFunctionRunner.java b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamDataStreamPythonFunctionRunner.java
index ca4b7386c52..71bd715c470 100644
--- a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamDataStreamPythonFunctionRunner.java
+++ b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamDataStreamPythonFunctionRunner.java
@@ -179,7 +179,7 @@ public class BeamDataStreamPythonFunctionRunner extends BeamPythonFunctionRunner
                                 RunnerApi.FunctionSpec.newBuilder()
                                         .setUrn(STATELESS_FUNCTION_URN)
                                         .setPayload(
-                                                org.apache.beam.vendor.grpc.v1p54p0.com.google
+                                                org.apache.beam.vendor.grpc.v1p48p1.com.google
                                                         .protobuf.ByteString.copyFrom(
                                                         proto.toByteArray()))
                                         .build());
@@ -196,7 +196,7 @@ public class BeamDataStreamPythonFunctionRunner extends BeamPythonFunctionRunner
                                 RunnerApi.FunctionSpec.newBuilder()
                                         .setUrn(urn)
                                         .setPayload(
-                                                org.apache.beam.vendor.grpc.v1p54p0.com.google
+                                                org.apache.beam.vendor.grpc.v1p48p1.com.google
                                                         .protobuf.ByteString.copyFrom(
                                                         proto.toByteArray()))
                                         .build());
diff --git a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamPythonFunctionRunner.java b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamPythonFunctionRunner.java
index 67d592c3ef4..0029db937d4 100644
--- a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamPythonFunctionRunner.java
+++ b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/BeamPythonFunctionRunner.java
@@ -73,8 +73,8 @@ import org.apache.beam.sdk.options.PortablePipelineOptions;
 import org.apache.beam.sdk.transforms.windowing.BoundedWindow;
 import org.apache.beam.sdk.transforms.windowing.GlobalWindow;
 import org.apache.beam.sdk.util.WindowedValue;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Iterables;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.Iterables;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -567,7 +567,7 @@ public abstract class BeamPythonFunctionRunner implements PythonFunctionRunner {
                 RunnerApi.ExecutableStagePayload.WireCoderSetting.newBuilder()
                         .setUrn(getUrn(RunnerApi.StandardCoders.Enum.PARAM_WINDOWED_VALUE))
                         .setPayload(
-                                org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.ByteString
+                                org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.ByteString
                                         .copyFrom(baos.toByteArray()))
                         .setInputOrOutputId(INPUT_COLLECTION_ID)
                         .build());
@@ -575,7 +575,7 @@ public abstract class BeamPythonFunctionRunner implements PythonFunctionRunner {
                 RunnerApi.ExecutableStagePayload.WireCoderSetting.newBuilder()
                         .setUrn(getUrn(RunnerApi.StandardCoders.Enum.PARAM_WINDOWED_VALUE))
                         .setPayload(
-                                org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.ByteString
+                                org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.ByteString
                                         .copyFrom(baos.toByteArray()))
                         .setInputOrOutputId(OUTPUT_COLLECTION_ID)
                         .build());
@@ -585,7 +585,7 @@ public abstract class BeamPythonFunctionRunner implements PythonFunctionRunner {
                     RunnerApi.ExecutableStagePayload.WireCoderSetting.newBuilder()
                             .setUrn(getUrn(RunnerApi.StandardCoders.Enum.PARAM_WINDOWED_VALUE))
                             .setPayload(
-                                    org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf
+                                    org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf
                                             .ByteString.copyFrom(baos.toByteArray()))
                             .setInputOrOutputId(entry.getKey())
                             .build());
diff --git a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamBagStateHandler.java b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamBagStateHandler.java
index 7bdfe7d0332..96c6089651a 100644
--- a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamBagStateHandler.java
+++ b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamBagStateHandler.java
@@ -26,7 +26,7 @@ import org.apache.flink.runtime.state.internal.InternalListState;
 import org.apache.flink.util.Preconditions;
 
 import org.apache.beam.model.fnexecution.v1.BeamFnApi;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.ByteString;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.ByteString;
 
 import javax.annotation.Nullable;
 
diff --git a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamMapStateHandler.java b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamMapStateHandler.java
index f7972c46a81..8b62d656c26 100644
--- a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamMapStateHandler.java
+++ b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamMapStateHandler.java
@@ -28,7 +28,7 @@ import org.apache.flink.python.PythonOptions;
 import org.apache.flink.streaming.api.utils.ByteArrayWrapper;
 
 import org.apache.beam.model.fnexecution.v1.BeamFnApi;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.ByteString;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.ByteString;
 
 import java.util.HashMap;
 import java.util.Iterator;
diff --git a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamStateRequestHandler.java b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamStateRequestHandler.java
index 5fcdc441e41..edcdb921073 100644
--- a/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamStateRequestHandler.java
+++ b/flink-python/src/main/java/org/apache/flink/streaming/api/runners/python/beam/state/BeamStateRequestHandler.java
@@ -28,8 +28,8 @@ import org.apache.flink.streaming.api.utils.ByteArrayWrapper;
 
 import org.apache.beam.model.fnexecution.v1.BeamFnApi;
 import org.apache.beam.runners.fnexecution.state.StateRequestHandler;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.common.base.Charsets;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.ByteString;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.common.base.Charsets;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.ByteString;
 
 import javax.annotation.Nullable;
 
diff --git a/flink-python/src/main/java/org/apache/flink/table/runtime/runners/python/beam/BeamTablePythonFunctionRunner.java b/flink-python/src/main/java/org/apache/flink/table/runtime/runners/python/beam/BeamTablePythonFunctionRunner.java
index 4024f987721..60158397e62 100644
--- a/flink-python/src/main/java/org/apache/flink/table/runtime/runners/python/beam/BeamTablePythonFunctionRunner.java
+++ b/flink-python/src/main/java/org/apache/flink/table/runtime/runners/python/beam/BeamTablePythonFunctionRunner.java
@@ -92,7 +92,7 @@ public class BeamTablePythonFunctionRunner extends BeamPythonFunctionRunner {
                                 RunnerApi.FunctionSpec.newBuilder()
                                         .setUrn(functionUrn)
                                         .setPayload(
-                                                org.apache.beam.vendor.grpc.v1p54p0.com.google
+                                                org.apache.beam.vendor.grpc.v1p48p1.com.google
                                                         .protobuf.ByteString.copyFrom(
                                                         userDefinedFunctionProto.toByteArray()))
                                         .build())
diff --git a/flink-python/src/main/resources/META-INF/NOTICE b/flink-python/src/main/resources/META-INF/NOTICE
index 202c6b1b0be..94f1921c312 100644
--- a/flink-python/src/main/resources/META-INF/NOTICE
+++ b/flink-python/src/main/resources/META-INF/NOTICE
@@ -17,16 +17,16 @@ This project bundles the following dependencies under the Apache Software Licens
 - org.apache.arrow:arrow-memory-core:13.0.0
 - org.apache.arrow:arrow-memory-netty:13.0.0
 - org.apache.arrow:arrow-vector:13.0.0
-- org.apache.beam:beam-model-fn-execution:2.52.0
-- org.apache.beam:beam-model-job-management:2.52.0
-- org.apache.beam:beam-model-pipeline:2.52.0
-- org.apache.beam:beam-runners-core-construction-java:2.52.0
-- org.apache.beam:beam-runners-core-java:2.52.0
-- org.apache.beam:beam-runners-java-fn-execution:2.52.0
-- org.apache.beam:beam-sdks-java-core:2.52.0
-- org.apache.beam:beam-sdks-java-fn-execution:2.52.0
-- org.apache.beam:beam-vendor-guava-32_1_2-jre:0.1
-- org.apache.beam:beam-vendor-grpc-1_54_0:0.1
+- org.apache.beam:beam-model-fn-execution:2.43.0
+- org.apache.beam:beam-model-job-management:2.43.0
+- org.apache.beam:beam-model-pipeline:2.43.0
+- org.apache.beam:beam-runners-core-construction-java:2.43.0
+- org.apache.beam:beam-runners-core-java:2.43.0
+- org.apache.beam:beam-runners-java-fn-execution:2.43.0
+- org.apache.beam:beam-sdks-java-core:2.43.0
+- org.apache.beam:beam-sdks-java-fn-execution:2.43.0
+- org.apache.beam:beam-vendor-guava-26_0-jre:0.1
+- org.apache.beam:beam-vendor-grpc-1_48_1:0.1
 - com.alibaba:pemja:0.4.1
 
 This project bundles the following dependencies under the BSD license.
@@ -45,33 +45,33 @@ The bundled Apache Beam dependencies bundle the following dependencies under the
 - com.google.api.grpc:proto-google-common-protos:2.9.0
 - com.google.code.gson:gson:2.9.0
 - com.google.guava:guava:31.1-jre
-- io.grpc:grpc-auth:1.54.0
-- io.grpc:grpc-core:1.54.0
-- io.grpc:grpc-context:1.54.0
-- io.grpc:grpc-netty:1.54.0
-- io.grpc:grpc-protobuf:1.54.0
-- io.grpc:grpc-stub:1.54.0
-- io.grpc:grpc-testing:1.54.0
-- io.netty:netty-buffer:4.1.87.Final
-- io.netty:netty-codec:4.1.87.Final
-- io.netty:netty-codec-http:4.1.87.Final
-- io.netty:netty-codec-http2:4.1.87.Final
-- io.netty:netty-codec-socks:4.1.87.Final
-- io.netty:netty-common:4.1.87.Final
-- io.netty:netty-handler:4.1.87.Final
-- io.netty:netty-handler-proxy:4.1.87.Final
-- io.netty:netty-resolver:4.1.87.Final
-- io.netty:netty-transport:4.1.87.Final
-- io.netty:netty-transport-native-epoll:4.1.87.Final:linux-x86_64
-- io.netty:netty-transport-native-unix-common:4.1.87.Final
-- io.netty:netty-tcnative-boringssl-static:2.0.56.Final
+- io.grpc:grpc-auth:1.48.1
+- io.grpc:grpc-core:1.48.1
+- io.grpc:grpc-context:1.48.1
+- io.grpc:grpc-netty:1.48.1
+- io.grpc:grpc-protobuf:1.48.1
+- io.grpc:grpc-stub:1.48.1
+- io.grpc:grpc-testing:1.48.1
+- io.netty:netty-buffer:4.1.77.Final
+- io.netty:netty-codec:4.1.77.Final
+- io.netty:netty-codec-http:4.1.77.Final
+- io.netty:netty-codec-http2:4.1.77.Final
+- io.netty:netty-codec-socks:4.1.77.Final
+- io.netty:netty-common:4.1.77.Final
+- io.netty:netty-handler:4.1.77.Final
+- io.netty:netty-handler-proxy:4.1.77.Final
+- io.netty:netty-resolver:4.1.77.Final
+- io.netty:netty-transport:4.1.77.Final
+- io.netty:netty-transport-native-epoll:4.1.77.Final:linux-x86_64
+- io.netty:netty-transport-native-unix-common:4.1.77.Final
+- io.netty:netty-tcnative-boringssl-static:2.0.53.Final
 - io.opencensus:opencensus-api:0.31.0
 - io.opencensus:opencensus-contrib-grpc-metrics:0.31.0
-- io.perfmark:perfmark-api:0.26.0
+- io.perfmark:perfmark-api:0.25.0
 
 The bundled Apache Beam dependencies bundle the following dependencies under the BSD license.
 See bundled license files for details
 
 - com.google.auth:google-auth-library-credentials:1.4.0
-- com.google.protobuf:protobuf-java:3.21.7
-- com.google.protobuf:protobuf-java-util:3.21.7
+- com.google.protobuf:protobuf-java:3.21.1
+- com.google.protobuf:protobuf-java-util:3.21.1
diff --git a/flink-python/src/test/java/org/apache/flink/python/metric/process/FlinkMetricContainerTest.java b/flink-python/src/test/java/org/apache/flink/python/metric/process/FlinkMetricContainerTest.java
index 33f98353c88..16595fd8ac0 100644
--- a/flink-python/src/test/java/org/apache/flink/python/metric/process/FlinkMetricContainerTest.java
+++ b/flink-python/src/test/java/org/apache/flink/python/metric/process/FlinkMetricContainerTest.java
@@ -35,7 +35,7 @@ import org.apache.beam.runners.core.metrics.SimpleMonitoringInfoBuilder;
 import org.apache.beam.sdk.metrics.DistributionResult;
 import org.apache.beam.sdk.metrics.MetricKey;
 import org.apache.beam.sdk.metrics.MetricName;
-import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableList;
+import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.ImmutableList;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonAggregateFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonAggregateFunctionRunner.java
index b5624847e22..6eb8202a31e 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonAggregateFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonAggregateFunctionRunner.java
@@ -33,7 +33,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import java.util.ArrayList;
 import java.util.LinkedList;
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonScalarFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonScalarFunctionRunner.java
index 070c4915127..e84ee4d1d65 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonScalarFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonScalarFunctionRunner.java
@@ -26,7 +26,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import java.util.LinkedList;
 import java.util.List;
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonTableFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonTableFunctionRunner.java
index 41338eb8602..b94e765e413 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonTableFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughPythonTableFunctionRunner.java
@@ -26,7 +26,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import java.util.LinkedList;
 import java.util.List;
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamAggregatePythonFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamAggregatePythonFunctionRunner.java
index cb3f73fb979..7d970e2a529 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamAggregatePythonFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamAggregatePythonFunctionRunner.java
@@ -28,7 +28,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import java.util.LinkedList;
 import java.util.List;
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamGroupWindowAggregatePythonFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamGroupWindowAggregatePythonFunctionRunner.java
index 55577dc6ea5..48c56cd434d 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamGroupWindowAggregatePythonFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamGroupWindowAggregatePythonFunctionRunner.java
@@ -28,7 +28,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import static org.apache.flink.python.util.ProtoUtils.createFlattenRowTypeCoderInfoDescriptorProto;
 
diff --git a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamTableAggregatePythonFunctionRunner.java b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamTableAggregatePythonFunctionRunner.java
index 04891c2983e..d962463d680 100644
--- a/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamTableAggregatePythonFunctionRunner.java
+++ b/flink-python/src/test/java/org/apache/flink/table/runtime/utils/PassThroughStreamTableAggregatePythonFunctionRunner.java
@@ -28,7 +28,7 @@ import org.apache.flink.table.runtime.runners.python.beam.BeamTablePythonFunctio
 import org.apache.flink.table.types.logical.RowType;
 
 import org.apache.beam.runners.fnexecution.control.JobBundleFactory;
-import org.apache.beam.vendor.grpc.v1p54p0.com.google.protobuf.Struct;
+import org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Struct;
 
 import java.util.Arrays;
 import java.util.LinkedList;
diff --git a/pom.xml b/pom.xml
index ec145876afc..afb48c510ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,7 +160,7 @@ under the License.
 		<hamcrest.version>1.3</hamcrest.version>
 		<assertj.version>3.23.1</assertj.version>
 		<py4j.version>0.10.9.7</py4j.version>
-		<beam.version>2.52.0</beam.version>
+		<beam.version>2.43.0</beam.version>
 		<protoc.version>3.21.7</protoc.version>
 		<okhttp.version>3.14.9</okhttp.version>
 		<testcontainers.version>1.19.1</testcontainers.version>