public class StatusDelegator extends TempletonDelegator
appConf, ARCHIVES, FILES
Constructor and Description |
---|
StatusDelegator(AppConfig appConf) |
Modifier and Type | Method and Description |
---|---|
QueueStatusBean |
getJobStatus(String user,
String id) |
QueueStatusBean |
run(String user,
String id) |
QueueStatusBean |
run(String user,
String id,
boolean enableThreadPool) |
static org.apache.hadoop.mapred.JobID |
StringToJobID(String id)
A version of JobID.forName with our app specific error handling.
|
public StatusDelegator(AppConfig appConf)
public QueueStatusBean run(String user, String id, boolean enableThreadPool) throws NotAuthorizedException, BadParam, IOException, InterruptedException, BusyException, TimeoutException, ExecutionException, TooManyRequestsException
public QueueStatusBean run(String user, String id) throws NotAuthorizedException, BadParam, IOException, InterruptedException, BusyException, TimeoutException, ExecutionException, TooManyRequestsException
public QueueStatusBean getJobStatus(String user, String id) throws NotAuthorizedException, BadParam, IOException, InterruptedException
Copyright © 2023 The Apache Software Foundation. All rights reserved.