String[] hosts, String[] racks, Priority priority,
ContainerContext containerContext) {
AMSchedulerEventTALaunchRequest lr = new AMSchedulerEventTALaunchRequest(
taID, capability, new TaskSpec(taID, "dagName", "vertexName",
new ProcessorDescriptor("processorClassName"),
Collections.singletonList(new InputSpec("vertexName",
new InputDescriptor("inputClassName"), 1)),
Collections.singletonList(new OutputSpec("vertexName",
new OutputDescriptor("outputClassName"), 1)), null), ta, hosts, racks,
priority, containerContext);
return lr;