@InterfaceAudience.Private @InterfaceStability.Unstable public class JobSubmittedEvent extends Object implements HistoryEvent
Constructor and Description |
---|
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
|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath,
Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs,
String jobQueueName,
String workflowId,
String workflowName,
String workflowNodeName,
String workflowAdjacencies)
Create an event to record job submission
|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath,
Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs,
String jobQueueName,
String workflowId,
String workflowName,
String workflowNodeName,
String workflowAdjacencies,
String workflowTags)
Create an event to record job submission
|
Modifier and Type | Method and Description |
---|---|
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
|
String |
getWorkflowAdjacencies()
Get the adjacencies of the workflow
|
String |
getWorkflowId()
Get the id of the workflow
|
String |
getWorkflowName()
Get the name of the workflow
|
String |
getWorkflowNodeName()
Get the node name of the workflow
|
String |
getWorkflowTags()
Get the workflow tags
|
void |
setDatum(Object datum)
Set the Avro datum wrapped by this.
|
public JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs, String jobQueueName)
id
- The job Id of the jobjobName
- Name of the jobuserName
- Name of the user who submitted the jobsubmitTime
- Time of submissionjobConfPath
- Path of the Job Configuration filejobACLs
- The configured acls for the job.jobQueueName
- The job-queue to which this job was submitted topublic JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs, String jobQueueName, String workflowId, String workflowName, String workflowNodeName, String workflowAdjacencies)
id
- The job Id of the jobjobName
- Name of the jobuserName
- Name of the user who submitted the jobsubmitTime
- Time of submissionjobConfPath
- Path of the Job Configuration filejobACLs
- The configured acls for the job.jobQueueName
- The job-queue to which this job was submitted toworkflowId
- The Id of the workflowworkflowName
- The name of the workflowworkflowNodeName
- The node name of the workflowworkflowAdjacencies
- The adjacencies of the workflowpublic JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> jobACLs, String jobQueueName, String workflowId, String workflowName, String workflowNodeName, String workflowAdjacencies, String workflowTags)
id
- The job Id of the jobjobName
- Name of the jobuserName
- Name of the user who submitted the jobsubmitTime
- Time of submissionjobConfPath
- Path of the Job Configuration filejobACLs
- The configured acls for the job.jobQueueName
- The job-queue to which this job was submitted toworkflowId
- The Id of the workflowworkflowName
- The name of the workflowworkflowNodeName
- The node name of the workflowworkflowAdjacencies
- The adjacencies of the workflowworkflowTags
- Comma-separated tags for the workflowpublic Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public JobID getJobId()
public String getJobName()
public String getJobQueueName()
public String getUserName()
public long getSubmitTime()
public String getJobConfPath()
public Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> getJobAcls()
public String getWorkflowId()
public String getWorkflowName()
public String getWorkflowNodeName()
public String getWorkflowAdjacencies()
public String getWorkflowTags()
public EventType getEventType()
getEventType
in interface HistoryEvent
Copyright © 2016 Apache Software Foundation. All Rights Reserved.