Viewing MRS Job Details and Logs
You can check the status, configuration, and run logs of all jobs in an MRS cluster on the console.
Spark SQL and DistCp jobs do not generate background logs, which means that you cannot access the running logs of these jobs online.
Viewing the Job Status
- Log in to the MRS console.
- On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
- Click Job Management to view the list and status of jobs created in an MRS cluster.
By default, jobs in the job list are sorted by submission time. For details about the parameters in the job list, see Table 1. You can quickly filter jobs by job type and job status.
Table 1 Job list parameters Parameter
Description
Name/ID
Job name, which is set when a job is created.
ID is the unique identifier of a job. After a job is added, the system automatically assigns a value to ID.
Username
Name of the user who submits a job.
Job Type
Job type.
NOTE:After importing and exporting files on the Files tab page, you can view the DistCp job on the Jobs page.
Status
Job status.
- Submitted: The job has been submitted.
- Accepted: Initial status of a job after it is successfully submitted.
- Running: The job is running.
- Completed: The job is executed.
- Terminated: The job execution is stopped.
- Abnormal: An error is reported during job execution, or the job execution is complete but fails.
Result
Execution result of a job.
- Undefined: indicates that the job is being executed.
- Successful: indicates that the job has been executed.
- Killed: indicates that the job is manually terminated during execution.
- Failed: indicates that the job fails to be executed.
NOTE:After a job is successfully executed or fails to be executed, it cannot be executed again. You can only add a job again.
Queue Name
Name of the resource queue bound to the user who submits the job.
Submitted
Time when a job is submitted.
Ended
Time when a job is completed or manually stopped.
Operation
Operations can be performed on the job. For details, see Managing MRS Cluster Jobs.
Viewing MRS Job Logs
- Log in to the MRS management console.
- Choose Active Clusters in the navigation pane, select a running cluster, and click its name to switch to the cluster details page.
- Click .
- In the Operation column of the job to be viewed, choose More > View Details.
In the View Details window that is displayed, configuration of the selected job is displayed.
- Select a running job, and click View Log in the Operation column.
In the new page that is displayed, real-time log information of the job is displayed.
- Each tenant can submit and view 10 jobs concurrently.
- After a job is executed, the system will compress and save the logs to the corresponding path if you choose to save job logs to OBS or HDFS. Therefore, after a job execution of this type is completed, the job status is still Running. After the log is successfully stored, the job status changes to Completed. The log storage duration depends on the log size and takes several minutes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot