edu.stolaf.cs.wmrserver
Interface JobEngine
- All Known Implementing Classes:
- HadoopEngine, TestJobEngine
public interface JobEngine
submit
void submit(JobRequest request,
long submissionID,
java.io.File mapperFile,
java.io.File reducerFile,
java.io.File packageDir,
org.apache.hadoop.fs.Path inputPath)
throws ValidationException,
NotFoundException,
CompilationException,
InternalException,
ForbiddenTestJobException
- Throws:
ValidationException
NotFoundException
CompilationException
InternalException
ForbiddenTestJobException
getStatus
JobStatus getStatus(Submission submission)
throws NotFoundException,
InternalException
- Throws:
NotFoundException
InternalException
kill
void kill(Submission submission)
throws NotFoundException,
IllegalJobStateException,
InternalException
- Throws:
NotFoundException
IllegalJobStateException
InternalException