agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/managers/launchers/HPCLauncher.java
/**
	 * Checks to see if the job already started running right after submission. This can happen when a callback
	 * comes in immediately and is processed prior to the job submission process completing.
	 *
	 * @throws JobException if the status event cannot be raised.
	 */
Checks to see if the job already started running right after submission. This can happen when a callback
comes in immediately and is processed prior to the job submission process completing.

@throws JobException if the status event cannot be raised.
Checks to see if the job already started running right after submission . This can happen when a callback comes in immediately and is processed prior to the job submission process completing . @throws JobException if the status event cannot be raised .
protected void checkJobStatus() throws JobException {
		if (!getJob().getStatus().equals(JobStatusType.RUNNING)) {
			getJob().setStatus(JobStatusType.QUEUED, "HPC job " + getJob().getUuid() +
					" successfully placed into " + getJob().getBatchQueue() + " queue as local job " +
					getJob().getLocalJobId());
		}
		else {
			if (log.isDebugEnabled())
				log.debug("Callback already received for job " + getJob().getUuid() +
						  " skipping duplicate status update.");
		}
	}
protected void checkJobStatus ( ) throws JobException { if ( ! getJob ( ) . getStatus ( ) . equals ( JobStatusType . RUNNING ) ) { getJob ( ) . setStatus ( JobStatusType . QUEUED , "HPC job " + getJob ( ) . getUuid ( ) + " successfully placed into " + getJob ( ) . getBatchQueue ( ) + " queue as local job " + getJob ( ) . getLocalJobId ( ) ) ; } else { if ( log . isDebugEnabled ( ) ) log . debug ( "Callback already received for job " + getJob ( ) . getUuid ( ) + " skipping duplicate status update." ) ; } }
Checks to see if the job already started running right after submission.
Checks to see if the job already started running right after submission .