@DefaultImplementation(value=REEFImplementation.class) public interface REEF extends AutoCloseable
Every REEF resourcemanager provides an implementation of this interface. That instance is used to submitTask the Driver class for execution to REEF. As with all submissions in REEF, this is done in the form of a TANG Configuration object.
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the resourcemanager connection.
|
void |
submit(Configuration driverConf)
Submits the Driver set up in the given Configuration for execution.
|
void close()
close
in interface AutoCloseable
void submit(Configuration driverConf)
The Configuration needs to bind the Driver interface to an actual implementation of that interface for the job at hand.
driverConf
- The driver configuration: including everything it needs to execute. @see DriverConfigurationCopyright © 2017 The Apache Software Foundation. All rights reserved.