| <table class="table table-bordered"> |
| <thead> |
| <tr> |
| <th class="text-left" style="width: 20%">Key</th> |
| <th class="text-left" style="width: 15%">Default</th> |
| <th class="text-left" style="width: 10%">Type</th> |
| <th class="text-left" style="width: 55%">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><h5>classloader.check-leaked-classloader</h5></td> |
| <td style="word-wrap: break-word;">true</td> |
| <td>Boolean</td> |
| <td>Fails attempts at loading classes if the user classloader of a job is used after it has terminated. |
| This is usually caused by the classloader being leaked by lingering threads or misbehaving libraries, which may also result in the classloader being used by other jobs. |
| This check should only be disabled if such a leak prevents further jobs from running.</td> |
| </tr> |
| <tr> |
| <td><h5>classloader.fail-on-metaspace-oom-error</h5></td> |
| <td style="word-wrap: break-word;">true</td> |
| <td>Boolean</td> |
| <td>Fail Flink JVM processes if 'OutOfMemoryError: Metaspace' is thrown while trying to load a user code class.</td> |
| </tr> |
| <tr> |
| <td><h5>classloader.parent-first-patterns.additional</h5></td> |
| <td style="word-wrap: break-word;">(none)</td> |
| <td>String</td> |
| <td>A (semicolon-separated) list of patterns that specifies which classes should always be resolved through the parent ClassLoader first. A pattern is a simple prefix that is checked against the fully qualified class name. These patterns are appended to "classloader.parent-first-patterns.default".</td> |
| </tr> |
| <tr> |
| <td><h5>classloader.parent-first-patterns.default</h5></td> |
| <td style="word-wrap: break-word;">"java.;<wbr>scala.;<wbr>org.apache.flink.;<wbr>com.esotericsoftware.kryo;<wbr>org.apache.hadoop.;<wbr>javax.annotation.;<wbr>org.slf4j;<wbr>org.apache.log4j;<wbr>org.apache.logging;<wbr>org.apache.commons.logging;<wbr>ch.qos.logback;<wbr>org.xml;<wbr>javax.xml;<wbr>org.apache.xerces;<wbr>org.w3c"</td> |
| <td>String</td> |
| <td>A (semicolon-separated) list of patterns that specifies which classes should always be resolved through the parent ClassLoader first. A pattern is a simple prefix that is checked against the fully qualified class name. This setting should generally not be modified. To add another pattern we recommend to use "classloader.parent-first-patterns.additional" instead.</td> |
| </tr> |
| <tr> |
| <td><h5>classloader.resolve-order</h5></td> |
| <td style="word-wrap: break-word;">"child-first"</td> |
| <td>String</td> |
| <td>Defines the class resolution strategy when loading classes from user code, meaning whether to first check the user code jar ("child-first") or the application classpath ("parent-first"). The default settings indicate to load classes first from the user code jar, which means that user code jars can include and load different dependencies than Flink uses (transitively).</td> |
| </tr> |
| </tbody> |
| </table> |