Amraneze opened a new issue, #26986:
URL: https://github.com/apache/beam/issues/26986

   ### What happened?
   
   After upgrading Apache Beam to **2.48.0**, we encountered an error while 
running the pipeline using **DataflowRunner** (the pipeline doesn't consomme at 
all and it keeps displaying errors). 
   
   <img width="952" alt="image" 
src="https://github.com/apache/beam/assets/28459763/7f86c779-32c2-445f-827e-9d76ce56b50b";>
   
   ````
   Error: Unable to initialize main class org.apache.beam.fn.harness.FnHarness
   Caused by: java.lang.NoClassDefFoundError: 
org/apache/beam/vendor/grpc/v1p48p1/io/grpc/Channel
   ````
   We didn't have this issue with old versions. It appeared only after 
upgrading to 2.48.
   
   
   We added this dependency `beam-vendor-grpc-1_48_1` to the project.
   ````
   implementation 'org.apache.beam:beam-vendor-grpc-1_48_1:0.1'
   ````
   
   And we got another error
   
   ````
   Exception in thread "main" java.lang.IncompatibleClassChangeError: Class 
org.apache.beam.model.pipeline.v1.Endpoints$ApiServiceDescriptor$Builder does 
not implement the requested interface 
org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.Message$Builder
   ````
   <img width="1523" alt="image" 
src="https://github.com/apache/beam/assets/28459763/7637a7cf-a0f2-4f94-a25a-6cf83386dadc";>
   
   >Note: Also errors logs are displayed as info logs.
   
   ### Issue Priority
   
   Priority: 3 (minor)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to