[ https://issues.apache.org/jira/browse/FLINK-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495956#comment-15495956 ]
ASF GitHub Bot commented on FLINK-4628: --------------------------------------- GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2505 [FLINK-4628] provide user class loader during input split assignment In analogy to the configure() method, this also sets a context class loader during input split assignment. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mxm/flink FLINK-4628 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2505.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2505 ---- commit 62d4075f89f96c1ddddd85ca951c7705fd15e3e4 Author: Maximilian Michels <m...@apache.org> Date: 2016-09-16T10:21:54Z [FLINK-4628] provide user class loader during input split assignment In analogy to the configure() method, this also sets a context class loader during input split assignment. ---- > User class loader unavailable during input split assignment > ----------------------------------------------------------- > > Key: FLINK-4628 > URL: https://issues.apache.org/jira/browse/FLINK-4628 > Project: Flink > Issue Type: Bug > Components: JobManager > Affects Versions: 1.2.0, 1.1.2 > Reporter: Maximilian Michels > Assignee: Maximilian Michels > Priority: Minor > > {{InputFormat}}\s runs through two configuration phases in the {{JobManager}}. > 1. initializeOnMaster which runs the configure() method on the InputFormat > 2. createInputSplits when the ExecutionJobVertex is created > In 1 we set the user class loader as the context class loader of the > executing thread. > In 2 we only have the system class loader available. If any classes need to > be loaded then, we have a problem. Some InputFormats rely on code which > lazily load classes at different points in time. > In particular, this is a problem with the HBase TableInputFormat in the > latest master. > We should make the user class loader available when creating input splits. -- This message was sent by Atlassian JIRA (v6.3.4#6332)