}
}
/** Create and initialize (but don't start) a single dag. */
protected DAG createDAG(DAGPlan dagPB) {
TezDAGID dagId = new TezDAGID(appAttemptID.getApplicationId(),
dagCounter.incrementAndGet());
// Prepare the TaskAttemptListener server for authentication of Containers
// TaskAttemptListener gets the information via jobTokenSecretManager.
String dagIdString = dagId.toString();
jobTokenSecretManager.addTokenForJob(dagIdString, sessionToken);
LOG.info("Adding job token for " + dagIdString
+ " to jobTokenSecretManager");
Iterator<PlanKeyValuePair> iter =