Modifier and Type | Method and Description |
---|---|
protected long |
JobClient.getCounter(Counters cntrs,
String counterGroupName,
String counterName) |
Constructor and Description |
---|
Counters(Counters newCounters) |
Modifier and Type | Method and Description |
---|---|
Counters |
Job.getCounters()
Gets the counters for this job.
|
Counters |
TaskReport.getTaskCounters()
A table of counters.
|
Constructor and Description |
---|
TaskReport(TaskID taskid,
float progress,
String state,
String[] diagnostics,
TIPStatus currentStatus,
long startTime,
long finishTime,
Counters counters)
Creates a new TaskReport object
|
Modifier and Type | Method and Description |
---|---|
Counters |
JobHistoryParser.TaskInfo.getCounters() |
Counters |
JobHistoryParser.TaskAttemptInfo.getCounters() |
Counters |
TaskFailedEvent.getCounters()
Gets task counters.
|
Counters |
TaskFinishedEvent.getCounters()
Gets task counters.
|
Counters |
JobHistoryParser.JobInfo.getMapCounters() |
Counters |
JobFinishedEvent.getMapCounters()
Get the Map counters for the job
|
Counters |
JobHistoryParser.JobInfo.getReduceCounters() |
Counters |
JobFinishedEvent.getReduceCounters()
Get the reduce counters for the job
|
Counters |
JobHistoryParser.JobInfo.getTotalCounters() |
Counters |
JobFinishedEvent.getTotalCounters()
Get the counters for the job
|
Constructor and Description |
---|
JobFinishedEvent(JobID id,
long finishTime,
int succeededMaps,
int succeededReduces,
int failedMaps,
int failedReduces,
int killedMaps,
int killedReduces,
Counters mapCounters,
Counters reduceCounters,
Counters totalCounters)
Create an event to record successful job completion
|
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits) |
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits,
long startTs)
Create an event for successful completion of map attempts.
|
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
String state,
Counters counters)
Deprecated.
please use the constructor with an additional
argument, an array of splits arrays instead. See
ProgressSplitsBlock
for an explanation of the meaning of that parameter.
Create an event for successful completion of map attempts |
ReduceAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long shuffleFinishTime,
long sortFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits) |
ReduceAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long shuffleFinishTime,
long sortFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits,
long startTs)
Create an event to record completion of a reduce attempt
|
ReduceAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long shuffleFinishTime,
long sortFinishTime,
long finishTime,
String hostname,
String state,
Counters counters)
Deprecated.
please use the constructor with an additional
argument, an array of splits arrays instead. See
ProgressSplitsBlock
for an explanation of the meaning of that parameter.
Create an event to record completion of a reduce attempt |
TaskAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long finishTime,
String rackName,
String hostname,
String state,
Counters counters) |
TaskAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long finishTime,
String rackName,
String hostname,
String state,
Counters counters,
long startTs)
Create an event to record successful finishes for setup and cleanup
attempts.
|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
Counters counters,
int[][] allSplits) |
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
Counters counters,
int[][] allSplits,
long startTs)
Create an event to record the unsuccessful completion of attempts.
|
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt,
Counters counters) |
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt,
Counters counters,
long startTs)
Create an event to record task failure.
|
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters) |
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters,
long startTs)
Create an event to record the successful completion of a task.
|
Modifier and Type | Method and Description |
---|---|
Counters |
ClientProtocol.getJobCounters(JobID jobid)
Grab the current job counters
|
Modifier and Type | Method and Description |
---|---|
protected long |
CLI.getCounter(Counters counters,
String counterGroupName,
String counterName) |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.JsonNode |
JobHistoryEventUtils.countersToJSON(Counters counters) |
static Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineMetric> |
JobHistoryEventUtils.countersToTimelineMetric(Counters counters,
long timestamp) |
static Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineMetric> |
JobHistoryEventUtils.countersToTimelineMetric(Counters counters,
long timestamp,
String groupNamePrefix) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.