[ https://issues.apache.org/jira/browse/BEAM-8113?focusedWorklogId=307542&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-307542 ]
ASF GitHub Bot logged work on BEAM-8113: ---------------------------------------- Author: ASF GitHub Bot Created on: 05/Sep/19 23:56 Start Date: 05/Sep/19 23:56 Worklog Time Spent: 10m Work Description: lukecwik commented on pull request #9451: [BEAM-8113] Stage files from context classloader URL: https://github.com/apache/beam/pull/9451#discussion_r321526565 ########## File path: runners/core-construction-java/src/test/java/org/apache/beam/runners/core/construction/PipelineResourcesTest.java ########## @@ -44,24 +49,98 @@ @Rule public transient TemporaryFolder tmpFolder = new TemporaryFolder(); @Rule public transient ExpectedException thrown = ExpectedException.none(); + ClassLoader currentContext = null; Review comment: nit: Consider making this a test rule like [RestoreSystemProperties](https://github.com/apache/beam/blob/master/sdks/java/core/src/test/java/org/apache/beam/sdk/testing/RestoreSystemProperties.java) ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 307542) Time Spent: 7h 10m (was: 7h) > FlinkRunner: Stage files from context classloader > ------------------------------------------------- > > Key: BEAM-8113 > URL: https://issues.apache.org/jira/browse/BEAM-8113 > Project: Beam > Issue Type: Improvement > Components: runner-flink > Reporter: Jan Lukavský > Assignee: Jan Lukavský > Priority: Major > Time Spent: 7h 10m > Remaining Estimate: 0h > > Currently, only files from {{FlinkRunner.class.getClassLoader()}} are staged > by default. Add also files from > {{Thread.currentThread().getContextClassLoader()}}. -- This message was sent by Atlassian Jira (v8.3.2#803003)