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.
|
waitTrainingFinalpublic YarnServiceJobMonitor(ClientContext clientContext)
public JobStatus getTrainingJobStatus(String jobName) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
JobMonitorgetTrainingJobStatus in class JobMonitorjobName - name of jobIOException - anything else happensorg.apache.hadoop.yarn.exceptions.YarnException - anything related to YARN happenspublic void cleanup()
throws IOException
JobMonitorcleanup in class JobMonitorIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.