Open ks881115 opened 9 years ago
1) You can add parameters when you build DriverConfiguration
.
The parameters are named parameters in the constructor of Driver.
2)
./reef-examples/src/main/java/org/apache/reef/examples/retained_eval/JobDriver.java
private final JobMessageObserver jobMessageObserver;
JobMessageObserver sends a JobMessage message from Driver to Client
./reef-examples/src/main/java/org/apache/reef/examples/retained_eval/JobClient.java
ClientConfiguration ... .set(ClientConfiguration.ON_JOB_MESSAGE, JobClient.JobMessageHandler.class) ...
final class JobMessageHandler implements EventHandler<JobMessage> { ... }
JobMessageHandler handles messages received from Driver at Client
3) Refer to the following JIRA issue. https://issues.apache.org/jira/browse/REEF-33
Thanks for the quick reply professor! We always appreciate you!
While designing Tajo on REEF, we found we need following interfaces:
1) Sending parameter from client to driver
1) and 2) are for the same purpose (To send query request to the launched driver). So we will choose one which fits the REEF app model. I think 3) might be supported but we simply don't know how-to.
Thanks in advance :)