Details
-
Bug
-
Status: Triage Needed
-
P2
-
Resolution: Fixed
-
None
Description
Issue are:
1. it assumes the classloader is an URLClassLoader (not always true and java >= 9 breaks that as well for the app loader)
2. it uses loader.getURLs() which leads to including the JRE itself in the staged file
Looks like this detect resource algorithm can't work and should be replaced by a SPI rather than a built-in and not extensible algorithm. Another valid alternative is to just drop that "guess" logic and force the user to set staged files.
Attachments
Issue Links
- blocks
-
BEAM-2530 Make Beam compatible with next Java LTS version (Java 11)
- Triage Needed
- relates to
-
BEAM-7478 Remote cluster submission from Flink Runner broken due to staging issues
- Open
- supercedes
-
BEAM-6656 org.apache.beam.runners.core.construction.PipelineResources#detectClassPathResourcesToStage broken on java > 8
- Resolved
- links to