You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/09/22 13:55:20 UTC

[jira] [Resolved] (FLINK-4628) User class loader unavailable during input split assignment

     [ https://issues.apache.org/jira/browse/FLINK-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-4628.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Fixed via 345b2529a8acdd59d67e89ea930ec69ad69a55d3

> 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
>             Fix For: 1.2.0
>
>
> {{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)