flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-9732) Report more detailed error message on SobSubmissionFailure
Date Tue, 03 Jul 2018 19:23:00 GMT
Chesnay Schepler created FLINK-9732:

             Summary: Report more detailed error message on SobSubmissionFailure
                 Key: FLINK-9732
                 URL: https://issues.apache.org/jira/browse/FLINK-9732
             Project: Flink
          Issue Type: Improvement
          Components: REST
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Chesnay Schepler

Currently, if the job submission through the {{JobSubmitHandler}} fails the error message
returned tot he client only says "Job submission failed.".

As outlined in the discussion in this [PR|https://github.com/apache/flink/pull/6222] we should
try to include more information about the actual failure cause.

The proposed solution is to encode the cause for the failure in the {{Acknowledge}} that is
returned by {{DispatcherGateway#submitJob}}.
public class AckOrException {
	// holds exception, could also be a series of nullable fields
	private final SuperEither<ExceptionA, ExceptionB, ExceptionC> exception; 
	public void throwIfError() throws ExceptionA, ExceptionB, ExceptionC;

This message was sent by Atlassian JIRA

View raw message