org.apache.hadoop.mapreduce.jobhistory
Class JobInitedEvent

java.lang.Object
  extended by org.apache.hadoop.mapreduce.jobhistory.JobInitedEvent
All Implemented Interfaces:
HistoryEvent

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobInitedEvent
extends Object
implements HistoryEvent

Event to record the initialization of a job


Constructor Summary
JobInitedEvent(JobID id, long launchTime, int totalMaps, int totalReduces, String jobStatus, boolean uberized)
          Create an event to record job initialization
 
Method Summary
 Object getDatum()
          Return the Avro datum wrapped by this.
 EventType getEventType()
          Get the event type
 JobID getJobId()
          Get the job ID
 long getLaunchTime()
          Get the launch time
 String getStatus()
          Get the status
 int getTotalMaps()
          Get the total number of maps
 int getTotalReduces()
          Get the total number of reduces
 boolean getUberized()
          Get whether the job's map and reduce stages were combined
 void setDatum(Object datum)
          Set the Avro datum wrapped by this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobInitedEvent

public JobInitedEvent(JobID id,
                      long launchTime,
                      int totalMaps,
                      int totalReduces,
                      String jobStatus,
                      boolean uberized)
Create an event to record job initialization

Parameters:
id -
launchTime -
totalMaps -
totalReduces -
jobStatus -
uberized - True if the job's map and reduce stages were combined
Method Detail

getDatum

public Object getDatum()
Description copied from interface: HistoryEvent
Return the Avro datum wrapped by this.

Specified by:
getDatum in interface HistoryEvent

setDatum

public void setDatum(Object datum)
Description copied from interface: HistoryEvent
Set the Avro datum wrapped by this.

Specified by:
setDatum in interface HistoryEvent

getJobId

public JobID getJobId()
Get the job ID


getLaunchTime

public long getLaunchTime()
Get the launch time


getTotalMaps

public int getTotalMaps()
Get the total number of maps


getTotalReduces

public int getTotalReduces()
Get the total number of reduces


getStatus

public String getStatus()
Get the status


getEventType

public EventType getEventType()
Get the event type

Specified by:
getEventType in interface HistoryEvent

getUberized

public boolean getUberized()
Get whether the job's map and reduce stages were combined



Copyright © 2012 Apache Software Foundation. All Rights Reserved.