-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Milestone
Description
What happened?
Problem
Workflows that use the gradle step: :sdks:java:extensions:sql:generateFmppSources can occasionally fail due to network issues when trying to fetch matedata/snapshots.
Here is a recent example:
* What went wrong:
Execution failed for task ':sdks:java:extensions:sql:generateFmppSources'.
> Could not resolve all files for configuration ':sdks:java:extensions:sql:fmppTask'.
> Could not resolve org.beanshell:bsh:[1.3,2.1).
Required by:
project :sdks:java:extensions:sql > com.googlecode.fmpp-maven-plugin:fmpp-maven-plugin:1.0 > net.sourceforge.fmpp:fmpp:0.9.14
> Failed to list versions for org.beanshell:bsh.
> Unable to load Maven meta-data from https://oss.sonatype.org/content/repositories/staging/org/beanshell/bsh/maven-metadata.xml.
> Could not GET 'https://oss.sonatype.org/content/repositories/staging/org/beanshell/bsh/maven-metadata.xml'.
> Read timed outRetrieved from https://github.com/apache/beam/actions/runs/16674277126/job/47197213759
Potential Solutions
There are a few ways around this:
- Use a retry mechanism
- Embedded invocation with a jar
- Run this task ':sdks:java:extensions:sql:fmppTask' only when it's needed (I havent identified this yet)
- Cache the gradle build on successful workflows
Issue Priority
Priority: 3 (minor)
Issue Components
- Component: Python SDK
- Component: Java SDK
- Component: Go SDK
- Component: Typescript SDK
- Component: IO connector
- Component: Beam YAML
- Component: Beam examples
- Component: Beam playground
- Component: Beam katas
- Component: Website
- Component: Infrastructure
- Component: Spark Runner
- Component: Flink Runner
- Component: Samza Runner
- Component: Twister2 Runner
- Component: Hazelcast Jet Runner
- Component: Google Cloud Dataflow Runner