Job Details
After creating a job, you can view the job details to learn about the following information:
- Viewing Job Details
- Checking the Job Monitoring Information
- Viewing the Task List of a Job
- Viewing the Job Execution Plan
- Viewing Job Submission Logs
- Viewing Job Running Logs
- Viewing Job Tags
Viewing Job Details
This section describes how to view job details. After you create and run a job, you can view job details, including SQL statements and parameter settings. For a user-defined job, you can only view its parameter settings.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
On the Job Details page, you can view SQL statements, configured parameters, and total cost for the job.
The following uses a Flink SQL job as an example.Table 1 Description Parameter
Description
Job Status
The current status of the job is displayed on the right of the job name.
ID
Job ID.
Job Type
Job type, for example, Flink SQL.
Queue
If the queue to which the job belongs is a shared queue, the shared queue is displayed.
If the queue to which the job belongs is a user-defined dedicated queue, the queue name is displayed.
Running Mode
If you create a job in a shared queue, this parameter is Shared.
If you create a job in a user-defined dedicated queue, this parameter is Exclusive.
CUs
Number of CUs configured for a job.
Job Manager CUs
Number of job manager CUs configured for a job.
Max Concurrent Jobs
Maximum number of jobs that can be concurrently executed by a Flink job.
Save Job Log
Enabled or disabled.
Auto Restart upon Exception
Enabled or disabled.
Restore Job from Checkpoint
Enabled or disabled.
CU(s) per TM
Number of CUs occupied by each Task Manager configured for a job.
Slot(s) per TM
Number of Task Manager slots configured for a job.
Enable Checkpointing
Enabled or disabled.
Checkpoint Interval
Interval between storing intermediate job running results to OBS.
Checkpoint Mode
Checkpoint mode. Values include:
- At least once: Events are processed at least once.
- Exactly once: Events are processed only once.
Idle State Retention Time
Defines for how long the state of a key is retained without being updated before it is removed in GroupBy or Window.
Checking the Job Monitoring Information
You can use Cloud Eye to view details about job data input and output.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
Click Job Monitoring in the upper right corner of the page to switch to the Cloud Eye console.
The following table describes monitoring metrics related to Flink jobs.
Table 2 Monitoring metrics related to Flink jobs Name
Description
Flink Job Data Read Rate
Displays the data input rate of a Flink job for monitoring and debugging. Unit: record/s.
Flink Job Data Write Rate
Displays the data output rate of a Flink job for monitoring and debugging. Unit: record/s.
Flink Job Total Data Read
Displays the total number of data inputs of a Flink job for monitoring and debugging. Unit: records
Flink Job Total Data Write
Displays the total number of output data records of a Flink job for monitoring and debugging. Unit: records
Flink Job Byte Read Rate
Displays the number of input bytes per second of a Flink job. Unit: byte/s
Flink Job Byte Write Rate
Displays the number of output bytes per second of a Flink job. Unit: byte/s
Flink Job Total Read Byte
Displays the total number of input bytes of a Flink job. Unit: byte
Flink Job Total Write Byte
Displays the total number of output bytes of a Flink job. Unit: byte
Flink Job CPU Usage
Displays the CPU usage of Flink jobs. Unit: %
Flink Job Memory Usage
Displays the memory usage of Flink jobs. Unit: %
Viewing the Task List of a Job
You can view details about each task running on a job, including the task start time, number of received and transmitted bytes, and running duration.
If the value is 0, no data is received from the data source.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- On the Task List tab page, you can view the node information about the task.
- View the operator task list.
Table 3 Parameter description Parameter
Description
Name
Name of an operator.
Duration
Running duration of an operator.
Max Concurrent Jobs
Number of parallel tasks in an operator.
Task
Operator tasks are categorized into the following:
- The digit in red indicates the number of failed tasks.
- The digit in light gray indicates the number of canceled tasks.
- The digit in yellow indicates the number of tasks that are being canceled.
- The digit in green indicates the number of finished tasks.
- The digit in blue indicates the number of running tasks.
- The digit in sky blue indicates the number of tasks that are being deployed.
- The digit in dark gray indicates the number of tasks in a queue.
Status
Status of an operator task.
Back Pressure Status
Working load status of an operator. Available options are as follows:
- OK: indicates that the operator is in normal working load.
- LOW: indicates that the operator is in slightly high working load. DLI processes data quickly.
- HIGH: indicates that the operator is in high working load. The data input speed at the source end is slow.
Delay
Duration from the time when source data starts being processed to the time when data reaches the current operator. The unit is millisecond.
Sent Records
Records of an operator sending data.
Sent Bytes
Number of bytes sent by an operator.
Received Bytes
Number of bytes received by an operator.
Received Records
Records of an operator receiving data.
Started
Time when an operator starts running.
Ended
Time when an operator stops running.
- Click
next to an operator name to view the concurrent task list of the operator. Table 4 Parameter description Parameter
Description
Started
Time when a task starts running.
Ended
Time when a task stops running.
Validity Period
Task running duration.
Received Bytes
Number of bytes received by a task.
Received Records
Records received by a task.
Sent Bytes
Number of bytes sent by a task.
Sent Records
Records sent by a task.
Attempts
Number of retry attempts after a task is suspended.
Node
Host IP address of the operator.
Status
Task status includes the following:
- SCHEDULED: Tasks are warming up.
- DEPLOYING: Tasks are being deployed.
- RUNNING: Tasks are running.
- FINISHED: Tasks are finished.
- CANCELING: Tasks are being canceled.
- CANCELED: Tasks are canceled.
- FAILED: Task execution fails.
- View the operator task list.
Viewing the Job Execution Plan
You can view the execution plan to understand the operator stream information about the running job.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
On the Execution Plan tab page, you can view the operator flow direction of the job.
Click a node. The corresponding information is displayed on the right of the page.- Scroll the mouse wheel or click
to zoom in or out. - The stream diagram displays the operator stream information about the running job in real time.
- Scroll the mouse wheel or click
Viewing Job Submission Logs
You can view the submission logs to locate the fault.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- On the log submission tab page, you can view the information about the job submission process.
Viewing Job Running Logs
You can view the run logs to locate the faults occurring during job running.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- On the Run Log tab page, you can view the Job Manager and Task Manager information of the running job.
Information about Job Manager and Task Manager is updated every minute. By default, only the run logs generated within the last 1 minute are displayed. You can click Log history to view more logs.
If you select an OBS bucket for saving job logs during the job configuration, you can switch to the OBS bucket and download log files to view more historical logs.
For details about how to upload files to OBS, see Uploading an Object in the Object Storage Service Getting Started.
If the job is not running, information on the Task Manager page cannot be viewed.
Viewing Job Tags
You can view, add, modify, and delete job tags.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- On the Tags tab page, view the tag information about the current job.
For more information about job tags, see Tag Management.
Last Article: Performing Operations on a Job
Next Article: Tag Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.