[ https://issues.apache.org/jira/browse/FLINK-21190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284745#comment-17284745 ]
Matthias commented on FLINK-21190: ---------------------------------- The current REST response has the following schema: {code:javascript} { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsInfo", "properties" : { "all-exceptions" : { "type" : "array", "items" : { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsInfo:ExecutionExceptionInfo", "properties" : { "exception" : { "type" : "string" }, "location" : { "type" : "string" }, "task" : { "type" : "string" }, "timestamp" : { "type" : "integer" } } } }, "root-exception" : { "type" : "string" }, "timestamp" : { "type" : "integer" }, "truncated" : { "type" : "boolean" } } } {code} I propose to extend the response above by adding a field {{failure-history}}: {code:javascript} { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsInfo", "properties" : { "all-exceptions" : { "type" : "array", "items" : { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsInfo:ExecutionExceptionInfo", "properties" : { "exception" : { "type" : "string" }, "location" : { "type" : "string" }, "task" : { "type" : "string" }, "timestamp" : { "type" : "integer" } } } }, "root-exception" : { "type" : "string" }, "timestamp" : { "type" : "integer" }, "truncated" : { "type" : "boolean" }, "exception-history" : { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsHistoryEntry", "properties" : { "all-exceptions" : { "type" : "array", "items" : { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:JobExceptionsInfo:ExecutionExceptionInfo", "properties" : { "exception" : { "type" : "string" }, "location" : { "type" : "string" }, "task" : { "type" : "string" }, "timestamp" : { "type" : "integer" } } } }, "root-exception" : { "type" : "string" }, "timestamp" : { "type" : "integer" }, "truncated" : { "type" : "boolean" } } } } {code} > Expose extended exception history through REST handler and adapt UI > accordingly > ------------------------------------------------------------------------------- > > Key: FLINK-21190 > URL: https://issues.apache.org/jira/browse/FLINK-21190 > Project: Flink > Issue Type: Sub-task > Components: Runtime / Web Frontend > Reporter: Matthias > Priority: Major > > A first idea of a UI change was proposed by [~vthinkxie] in the parent task: > !https://issues.apache.org/jira/secure/attachment/13019553/13019553_%E6%88%AA%E5%B1%8F2021-01-28+%E4%B8%8B%E5%8D%884.47.46.png|width=476,height=245! > The {{JobExceptionsHandler}} response should be extended introducing a new > (deprecated) field {{otherFailures}}. This way we avoid breaking the API. -- This message was sent by Atlassian Jira (v8.3.4#803005)