Help Center> Data Lake Insight> FAQs> Flink Jobs> O&M Guide> How Do I Locate a Flink Job Running Error?
Updated on 2022-09-20 GMT+08:00

How Do I Locate a Flink Job Running Error?

  1. On the Flink job management, click Edit in the Operation column of the target job. On the displayed page, check whether Save Job Log in the Running Parameters tab is enabled.
    Figure 1 Enabling Save Job Logs
    • If the function is enabled, go to 3.
    • If the function is disabled, running logs will not be dumped to an OBS bucket. In this case, perform 2 to save job logs.
  2. On the job running page, select Save Job Log and specify an OBS bucket for storing the logs. Click Start to run the job again. After the executed is complete, perform 3 and subsequent steps.
  3. In the Flink job list, click the job name. On the displayed job details page, click the Run Log tab.
  4. Click view OBS Bucket to obtain the complete run logs of the job.
    Figure 2 Viewing run logs
  5. Download the latest jobmanager.log file, search for the keyword RUNNING to FAILED, and determine the failure cause based on the errors in the context.
  6. If the information in the jobmanager.log file is insufficient for locating the fault, find the corresponding taskmanager.log file in the run logs and search for the keyword RUNNING to FAILED to confirm the failure cause.

O&M Guide FAQs

more