Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/3933
  
    Thanks for your contribution @EronWright. I'm not quite sure whether I 
understand which problem we are trying to solve here. 
    
    I think by deserializing the `MasterTriggerRestoreHook.Factories` with the 
user code class loader in `ExecutionGraphBuilder.java:253`, we support user 
code hooks. Given that the `Factory` is a user defined class, then it should 
get the user code class loader set as its `ClassLoader`. Thus, it should also 
be able to load a user defined `MasterTriggerRestoreHook` class. And the latter 
can only be a user defined class if the factory is user defined.
    
    But I might be overlooking something here. Maybe you can give me some more 
details about the PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to