Fix to class loader to ensure tasks receive the appropriate classpath…#1508
Closed
revprez wants to merge 1 commit intoapache:release-0.10from
OCForks:spring-classloading-fix-0.10
Closed
Fix to class loader to ensure tasks receive the appropriate classpath…#1508revprez wants to merge 1 commit intoapache:release-0.10from OCForks:spring-classloading-fix-0.10
revprez wants to merge 1 commit intoapache:release-0.10from
OCForks:spring-classloading-fix-0.10
Conversation
… (for the 0.10 release branch)
StephanEwen
pushed a commit
to StephanEwen/flink
that referenced
this pull request
Jan 14, 2016
…der from Flink core classes Originally, the user code classloader delegates to the system classloader as parent. That works in Flink standalone settings, but not when the Flink core classes themselves are not loaded with the system classloader (certain embedded setups). This patch uses as parent the classloader that was used to load the Flink core classes, specificly "org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager.FlinkUserCodeClassLoader.class.getClassLoader()". This closes apache#1506 This closes apache#1507 This closes apache#1508
StephanEwen
pushed a commit
to StephanEwen/flink
that referenced
this pull request
Jan 14, 2016
…der from Flink core classes Originally, the user code classloader delegates to the system classloader as parent. That works in Flink standalone settings, but not when the Flink core classes themselves are not loaded with the system classloader (certain embedded setups). This patch uses as parent the classloader that was used to load the Flink core classes, specificly "org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager.FlinkUserCodeClassLoader.class.getClassLoader()". This closes apache#1506 This closes apache#1507 This closes apache#1508
ChengXiangLi
pushed a commit
to ChengXiangLi/flink
that referenced
this pull request
Jan 25, 2016
…der from Flink core classes Originally, the user code classloader delegates to the system classloader as parent. That works in Flink standalone settings, but not when the Flink core classes themselves are not loaded with the system classloader (certain embedded setups). This patch uses as parent the classloader that was used to load the Flink core classes, specificly "org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager.FlinkUserCodeClassLoader.class.getClassLoader()". This closes apache#1506 This closes apache#1507 This closes apache#1508
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ClassNotFoundException thrown by task runners after Maven emits a fat-jar instrumented with Spring Boot.
Here's a gist, and here's the report, discussion and solution. H/t to Stephan Ewen; I just did what he told me to do.