[ 
https://issues.apache.org/jira/browse/FLINK-6606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016577#comment-16016577
 ] 

ASF GitHub Bot commented on FLINK-6606:
---------------------------------------

Github user EronWright commented on the issue:

    https://github.com/apache/flink/pull/3933
  
    Originally I pursued the path suggested by @tillrohrmann of setting the 
TCCL at the sites where the hook is invoked, but found that the classloader 
wasn't readily available.    I found it more expedient to create a wrapper that 
eagerly captured the classloader.


> Create checkpoint hook with user classloader
> --------------------------------------------
>
>                 Key: FLINK-6606
>                 URL: https://issues.apache.org/jira/browse/FLINK-6606
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>            Reporter: Eron Wright 
>            Assignee: Eron Wright 
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> Flink should set the thread's classloader when calling the checkpoint hook 
> factory's `create` method.   Without that, the hook is likely to fail during 
> initialization (e.g. using ServiceLoader). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to