public class YarnServiceJobMonitor extends JobMonitor
clientContext
Constructor and Description |
---|
YarnServiceJobMonitor(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup AppAdminClient, etc.
|
JobStatus |
getTrainingJobStatus(String jobName)
Returns status of training job.
|
waitTrainingFinal
public YarnServiceJobMonitor(ClientContext clientContext)
public JobStatus getTrainingJobStatus(String jobName) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
JobMonitor
getTrainingJobStatus
in class JobMonitor
jobName
- name of jobIOException
- anything else happensorg.apache.hadoop.yarn.exceptions.YarnException
- anything related to YARN happenspublic void cleanup() throws IOException
JobMonitor
cleanup
in class JobMonitor
IOException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.