Romain Manni-Bucau created BEAM-5495:
----------------------------------------

             Summary: PipelineResources algorithm is not working in most 
environments
                 Key: BEAM-5495
                 URL: https://issues.apache.org/jira/browse/BEAM-5495
             Project: Beam
          Issue Type: Bug
          Components: runner-spark
            Reporter: Romain Manni-Bucau
            Assignee: Amit Sela


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to