[jira] [Created] (FLINK-8645) Support convenient extension of parent-first ClassLoader patterns

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8645) Support convenient extension of parent-first ClassLoader patterns

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-8645:
---------------------------------------

             Summary: Support convenient extension of parent-first ClassLoader patterns
                 Key: FLINK-8645
                 URL: https://issues.apache.org/jira/browse/FLINK-8645
             Project: Flink
          Issue Type: Improvement
          Components: Configuration
    Affects Versions: 1.5.0
            Reporter: Chesnay Schepler
             Fix For: 1.5.0


The option {{classloader.parent-first-patterns}} defines a list of class pattern that should always be loaded through the parent class-loader. The default value contains all classes that are effectively required to be loaded that way for Flink to function.

This list cannot be extended in a convenient way, as one would have to manually copy the existing default and append new entries. This makes the configuration brittle in light of version upgrades where we may extend the default, and also obfuscates the configuration a bit.

I propose to separate this option into {{classloader.parent-first-patterns.base}}, which subsumes the existing option, and {{classloader.parent-first-patterns.append}} which is automatically appended to the base.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)