apache/flink · error · FlinkRuntimeException

The Job Result cannot be fetched through the Job Client when

Error message

The Job Result cannot be fetched through the Job Client when in Web Submission.

What it means

Error "The Job Result cannot be fetched through the Job Client when in Web Submission." thrown in apache/flink.

Source

Thrown at flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java:92

                "Stop with Savepoint is not supported by the Job Client when in Web Submission.");
    }

    @Override
    public CompletableFuture<String> triggerSavepoint(
            @Nullable String savepointDirectory, SavepointFormatType formatType) {
        throw new FlinkRuntimeException(
                "A savepoint cannot be taken through the Job Client when in Web Submission.");
    }

    @Override
    public CompletableFuture<Map<String, Object>> getAccumulators() {
        throw new FlinkRuntimeException(
                "The Accumulators cannot be fetched through the Job Client when in Web Submission.");
    }

    @Override
    public CompletableFuture<JobExecutionResult> getJobExecutionResult() {
        throw new FlinkRuntimeException(
                "The Job Result cannot be fetched through the Job Client when in Web Submission.");
    }
}

View on GitHub (pinned to 2f3c205e92)

Solutions

  1. Address the cause reported by the error message: The Job Result cannot be fetched through the Job Client when in Web Submission.
  2. Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.

Example fix

Correct the condition described ("The Job Result cannot be fetched through the Job Client when in Web Submission.") and rerun the job or command.

When it happens

Trigger: Triggered at runtime when the operation fails because: The Job Result cannot be fetched through the Job Client when in Web Submission.

Common situations: Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: The Job Result cannot be fetched through the Job Client when in Web Submission.


AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14). Data as JSON: /api/errors/344bef1034a881e5. Report an issue: GitHub.