Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11782

Enhance TaskManager log visualization by listing all log files for Flink web UI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Runtime / Web Frontend
    • None

    Description

      Currently, there are some features to be enhanced when Flink web UI displays TaskManager logs:

      1) Flink web UI can only display the log of task manager and stdout;
      2) Flink web UI can only display the latest one log file;

      In the log folder of a Task Manager, we usually have more files, including GC log files, multiple files generated based on the rolling rules of the logging framework (time or log file size), user's business log files (We internally implemented the separation of Flink from the user log). For these files, the current Flink web UI cannot be displayed.

      I personally suggest that we can refer to the way YARN displays the container's log (see attachment 1), first list all the log files (see attachment 2), and then click to display the files of these logs.

       

      This feature can be independent or part of the log separation (see FLINK-11202).

      It has now been added to the design documentation for Log separation: https://docs.google.com/document/d/1TTYAtFoTWaGCveKDZH394FYdRyNyQFnVoW5AYFvnr5I/edit?usp=sharing

      Attachments

        1. flink-web-ui-taskmanager-log-files.png
          196 kB
          vinoyang
        2. flink-web-ui-taskmanager-log-files-2.png
          105 kB
          vinoyang
        3. yarn-container-log-files.png
          23 kB
          vinoyang

        Issue Links

          Activity

            People

              yanghua vinoyang
              yanghua vinoyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: