Search in sources :

Example 1 with JobQueueChangeEvent

use of org.apache.hadoop.mapreduce.jobhistory.JobQueueChangeEvent in project hadoop by apache.

the class JobImpl method setQueueName.

@Override
public void setQueueName(String queueName) {
    this.queueName = queueName;
    JobQueueChangeEvent jqce = new JobQueueChangeEvent(oldJobId, queueName);
    eventHandler.handle(new JobHistoryEvent(jobId, jqce));
}
Also used : JobQueueChangeEvent(org.apache.hadoop.mapreduce.jobhistory.JobQueueChangeEvent) JobHistoryEvent(org.apache.hadoop.mapreduce.jobhistory.JobHistoryEvent)

Aggregations

JobHistoryEvent (org.apache.hadoop.mapreduce.jobhistory.JobHistoryEvent)1 JobQueueChangeEvent (org.apache.hadoop.mapreduce.jobhistory.JobQueueChangeEvent)1