Querying Job Status
You can use a specific API provided by GES to query job status. The sample code is as follows:
private static void getJobStatus(GesClient client, String graphId, String jobId) throws GesSdkException { JobResp jobsResp = client.queryJobStats(graphId, jobId); System.out.println(jobsResp); }
Asynchronous APIs that are used to stop, start, restore, and delete graphs, as well as create backups will return job IDs after commands are sent. You can query the job execution status according to the job IDs.
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