ASF GitHub Bot logged work on BEAM-5495:

                Author: ASF GitHub Bot
            Created on: 03/Dec/19 13:36
            Start Date: 03/Dec/19 13:36
    Worklog Time Spent: 10m 
      Work Description: lgajowy commented on issue #10268: [BEAM-5495] 
PipelineResources algorithm is not working in most environments
URL: https://github.com/apache/beam/pull/10268#issuecomment-561170429
   Run Spark ValidatesRunner
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.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 352616)
    Time Spent: 0.5h  (was: 20m)

> 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-flink, runner-spark, sdk-java-core
>            Reporter: Romain Manni-Bucau
>            Assignee: Lukasz Gajowy
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> 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

Reply via email to