public interface Job
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccess(UserGroupInformation callerUGI,
JobACL jobOperation) |
Counters |
getAllCounters()
Get all the counters of this job.
|
List<AMInfo> |
getAMInfos() |
int |
getCompletedMaps() |
int |
getCompletedReduces() |
Path |
getConfFile() |
List<String> |
getDiagnostics() |
JobId |
getID() |
Map<JobACL,AccessControlList> |
getJobACLs() |
TaskCompletionEvent[] |
getMapAttemptCompletionEvents(int startIndex,
int maxEvents) |
String |
getName() |
float |
getProgress() |
String |
getQueueName() |
JobReport |
getReport() |
JobState |
getState() |
Task |
getTask(TaskId taskID) |
TaskAttemptCompletionEvent[] |
getTaskAttemptCompletionEvents(int fromEventId,
int maxEvents) |
Map<TaskId,Task> |
getTasks() |
Map<TaskId,Task> |
getTasks(TaskType taskType) |
int |
getTotalMaps() |
int |
getTotalReduces() |
String |
getUserName() |
boolean |
isUber() |
Configuration |
loadConfFile() |
void |
setQueueName(String queueName) |
JobId getID()
String getName()
JobState getState()
JobReport getReport()
Counters getAllCounters()
int getTotalMaps()
int getTotalReduces()
int getCompletedMaps()
int getCompletedReduces()
float getProgress()
boolean isUber()
String getUserName()
String getQueueName()
Path getConfFile()
Configuration loadConfFile() throws IOException
getConfFile().IOException - on any error trying to load the conf file.Map<JobACL,AccessControlList> getJobACLs()
TaskAttemptCompletionEvent[] getTaskAttemptCompletionEvents(int fromEventId, int maxEvents)
TaskCompletionEvent[] getMapAttemptCompletionEvents(int startIndex, int maxEvents)
List<AMInfo> getAMInfos()
boolean checkAccess(UserGroupInformation callerUGI, JobACL jobOperation)
void setQueueName(String queueName)
Copyright © 2018 CERN. All Rights Reserved.