Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Current state[Under Discussion]

Discussion thread: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-FLIP-75-Flink-Web-UI-Improvement-Proposal-td33540.html

Page properties


Discussion thread
Vote thread
JIRA

...

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyFLINK-11374

...

Release1.10


Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

According to the current code, the MAX_NUMBER_EXCEPTION_TO_REPORT is default 20 and not configurable. The problem is that the exception which is useful to users usually appears in the first exception, but if there are a lot of exceptions happened, users can only get the latest 20 exception messages, the first exception is gone.

Proposed Changes

Making the MAX_NUMBER_EXCEPTION_TO_REPORT configurable in REST API can solve this problem.

Frontend Design

Add a load more button in the exception history page, when there the exception count is more than 20(the truncated is true), clicking the load more button the frontend will add 20 to the MAX_NUMBER_EXCEPTION_TO_REPORT request params.

Image Modified

REST API Design

Add max exceptions query parameter. FLINK-11405

Test Plan

We need to update existing and add UI tests to make sure the new REST API works as expected.