Updated on 2022-09-14 GMT+08:00

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
    {
        Status status = client.queryJobStats(graphId, jobId);
        System.out.println(status);
    }

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.