public interface Task
Callable. The REEF Evaluator will call this method in order to run
the Task. The byte[] returned by it will be pushed to the Job Driver.| Modifier and Type | Method and Description |
|---|---|
byte[] |
call(byte[] memento)
Called by the resourcemanager harness to execute the task.
|
byte[] call(byte[] memento) throws Exception
memento - the memento objected passed down by the driver.Exception - whenever the Task encounters an unsolved issue.
This Exception will be thrown at the Driver's event handler.Copyright © 2015 The Apache Software Foundation. All rights reserved.