You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "bo zhao (Jira)" <ji...@apache.org> on 2022/08/20 12:59:00 UTC

[jira] [Created] (FLINK-29047) [4.1] Shade the Flink-Kubernetes Fabric8 dependency with org.apache.flink.shaded prefix

bo zhao created FLINK-29047:
-------------------------------

             Summary: [4.1] Shade the Flink-Kubernetes Fabric8 dependency with org.apache.flink.shaded prefix
                 Key: FLINK-29047
                 URL: https://issues.apache.org/jira/browse/FLINK-29047
             Project: Flink
          Issue Type: Sub-task
          Components: Deployment / Kubernetes
            Reporter: bo zhao


For supporting stepDecorators plugin mechanism, we load the plugin via existing Flink plugin from plugins directory. And make it like SPI.

 

So we need to shade the Flink kubernetes(Fabric8) as a whitelist for loading the said Classes during SPI loading instance. Due to some/most part of plugins need depends on the existing Flink Fabric8 dependency. So we need to load the said classes in parent classloader, won't load all classes from Plugin jars.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)