All Products
Search
Document Center

Realtime Compute for Apache Flink:View the boot logs and operational logs of a deployment

Last Updated:Sep 12, 2024

When a deployment is running, you can view the boot logs and operational logs of the deployment. This topic describes how to view the boot logs and operational logs of a deployment.

Background information

Item

Description

Boot logs

After a Realtime Compute for Apache Flink deployment is started, the boot logs of the current deployment are generated. The boot logs are generated from the time Realtime Compute for Apache Flink is initialized to the time the JobManager is started. For more information about how to view the boot logs of a deployment, see the View the boot logs of a deployment section of this topic.

Note

The boot logs do not include scheduling logs. You can view the scheduling logs on the Events tab in the development console of Realtime Compute for Apache Flink. The scheduling logs contain issues such as insufficient resources and insufficient IP addresses of the vSwitch.

Operational logs

You can view the logs of JobManager and TaskManagers on the Logs tab in the development console of Realtime Compute for Apache Flink or on the web user interface (UI) of Realtime Compute for Apache Flink. For more information about how to view the operational logs of a deployment, see the View the operational logs of a deployment section of this topic.

Prerequisites

The deployment is in the Running state.

Usage notes

Logs are displayed by page. Each page can display up to 1 MB of logs and approximately 8,000 to 9,000 rows of logs. In most cases, you can identify an issue based on the logs that are displayed on the first page. If you cannot identify the issue based on the logs that are displayed on the first page, go to the next page.

View the boot logs of a deployment

  1. Log on to the Realtime Compute for Apache Flink console.

  2. find the workspace that you want to manage and click Console in the Actions column.

  3. In the left-side navigation pane, click O&M > Deployments.

  4. On the Deployments page, find the deployment that you want to manage and click its name.

  5. Click the Logs tab.

  6. In the left-side pane, click the Startup Logs tab to view the boot logs of the deployment.

    查看启动和运行日志.jpg

View the operational logs of a deployment

View the operational logs of a deployment on the Logs tab.

  1. Log on to the Realtime Compute for Apache Flink console.

  2. find the workspace that you want to manage and click Console in the Actions column.

  3. In the left-side navigation pane, click O&M > Deployments.

  4. On the Deployments page, find the deployment that you want to manage and click its name.

  5. Click the Logs tab.

  6. In the left-side pane, click the Logs tab. Then, select the deployment that is running from the Job drop-down list.

    查看启动和运行日志2.jpg

  7. View the logs of the JobManager and TaskManagers

    • View the logs of the JobManager

      On the Job Manager tab, click the Logs tab.查看启动和运行日志3.jpg

    • View the logs of TaskManagers

      1. On the Running Task Managers tab, click the value in the Path, ID column.

        修改运行作业2.jpg

      2. Click the Logs tab.

        修改运行作业3.jpg

    View the operational logs on the web UI of Realtime Compute for Apache Flink

  1. Log on to the Realtime Compute for Apache Flink console.

  2. find the workspace that you want to manage and click Console in the Actions column.

  3. In the left-side navigation pane, click O&M > Deployments.

  4. On the Deployments page, find the deployment that you want to manage and click its name.

  5. On the Status tab, click Flink UI in the Actions field.

  6. In the left-side navigation pane, click Task Managers or Job Manager.

    • After you click Task Managers, find the deployment that you want to manage and click the value in the Path, ID column to view the logs of TaskManagers for the deployment.

    • After you click Job Manager, you can view Job Manager logs of the deployment on the Logs tab.