{"record":{"id":"f9959e74c08feb7c","repo":"apache/flink","slug":"unknown-retry-policy","errorCode":null,"errorMessage":"Unknown retry policy: {}","messagePattern":"Unknown retry policy: (.+?)","errorType":"validation","errorClass":"IllegalConfigurationException","httpStatus":null,"severity":"error","filePath":"flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/RetryPolicy.java","lineNumber":40,"sourceCode":"import org.apache.flink.configuration.ReadableConfig;\n\nimport java.io.IOException;\nimport java.util.concurrent.TimeoutException;\n\n/** Retry policy to use by {@link RetryingExecutor}. */\n@Internal\npublic interface RetryPolicy {\n    static RetryPolicy fromConfig(ReadableConfig config) {\n        switch (config.get(FsStateChangelogOptions.RETRY_POLICY)) {\n            case \"fixed\":\n                return fixed(\n                        config.get(FsStateChangelogOptions.RETRY_MAX_ATTEMPTS),\n                        config.get(FsStateChangelogOptions.UPLOAD_TIMEOUT).toMillis(),\n                        config.get(FsStateChangelogOptions.RETRY_DELAY_AFTER_FAILURE).toMillis());\n            case \"none\":\n                return NONE;\n            default:\n                throw new IllegalConfigurationException(\n                        \"Unknown retry policy: \"\n                                + config.get(FsStateChangelogOptions.RETRY_POLICY));\n        }\n    }\n\n    /**\n     * @return timeout in millis. Zero or negative means no timeout.\n     */\n    long timeoutFor(int attempt);\n\n    /**\n     * @return delay in millis before the next attempt. Negative means no retry, zero means no\n     *     delay.\n     */\n    long retryAfter(int failedAttempt, Exception exception);\n\n    RetryPolicy NONE =\n            new RetryPolicy() {","sourceCodeStart":22,"sourceCodeEnd":58,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/RetryPolicy.java#L22-L58","documentation":"Error \"Unknown retry policy: {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Unknown retry policy: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Unknown retry policy: the reported value.","solutions":["Address the cause reported by the error message: Unknown retry policy: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Unknown retry policy: the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}