org.apache.hadoop.mapreduce.jobhistory
Class JobSubmittedEvent

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

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

Event to record the submission of a job


Constructor Summary
JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs, String jobQueueName)
          Create an event to record job submission
 
Method Summary
 Object getDatum()
          Return the Avro datum wrapped by this.
 EventType getEventType()
          Get the event type
 Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> getJobAcls()
          Get the acls configured for the job
 String getJobConfPath()
          Get the Path for the Job Configuration file
 JobID getJobId()
          Get the Job Id
 String getJobName()
          Get the Job name
 String getJobQueueName()
          Get the Job queue name
 long getSubmitTime()
          Get the submit time
 String getUserName()
          Get the user name
 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

JobSubmittedEvent

public JobSubmittedEvent(JobID id,
                         String jobName,
                         String userName,
                         long submitTime,
                         String jobConfPath,
                         Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs,
                         String jobQueueName)
Create an event to record job submission

Parameters:
id - The job Id of the job
jobName - Name of the job
userName - Name of the user who submitted the job
submitTime - Time of submission
jobConfPath - Path of the Job Configuration file
jobACLs - The configured acls for the job.
jobQueueName - The job-queue to which this job was submitted to
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


getJobName

public String getJobName()
Get the Job name


getJobQueueName

public String getJobQueueName()
Get the Job queue name


getUserName

public String getUserName()
Get the user name


getSubmitTime

public long getSubmitTime()
Get the submit time


getJobConfPath

public String getJobConfPath()
Get the Path for the Job Configuration file


getJobAcls

public Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> getJobAcls()
Get the acls configured for the job


getEventType

public EventType getEventType()
Get the event type

Specified by:
getEventType in interface HistoryEvent


Copyright © 2012 Apache Software Foundation. All Rights Reserved.