Use this class to create an IMRU Job Definition.
More...
Use this class to create an IMRU Job Definition.
- See also
- IMRUJobDefinition
Org.Apache.REEF.IMRU.API.IMRUJobDefinitionBuilder.IMRUJobDefinitionBuilder |
( |
| ) |
|
|
inline |
Instantiate the IMRUJobDefinition.
- Returns
- The IMRUJobDefintion configured.
- Exceptions
-
NullReferenceException | If any of the required parameters is not set. |
IMRUJobDefinitionBuilder Org.Apache.REEF.IMRU.API.IMRUJobDefinitionBuilder.InvokeGarbageCollectorAfterIteration |
( |
bool |
invokeGC | ) |
|
|
inline |
Whether to invoke Garbage Collector after each IMRU iteration
- Parameters
-
invokeGC | variable telling whether to invoke or not |
- Returns
- The modified definition builder
Set the name of the job.
- Parameters
-
- Returns
- this
Sets configuration of map function
- Parameters
-
mapFunctionConfiguration | Configuration |
- Returns
- this
Sets configuration of codec for TMapInput
- Parameters
-
mapInputCodecConfiguration | Configuration |
- Returns
- this
Sets configuration of PipelineDataConverter for Map Input
- Parameters
-
mapInputPipelineDataConverterConfiguration | Configuration |
- Returns
- this
Sets configuration of PipelineDataConverter for Map output
- Parameters
-
mapOutputPipelineDataConverterConfiguration | Configuration |
- Returns
- this
Sets mapper memory
- Parameters
-
- Returns
Sets cores for map tasks
- Parameters
-
- Returns
Sets Number of mappers
- Parameters
-
numberOfMappers | Number of mappers |
- Returns
- this
TODO: This is duplicate in a sense that it can be determined TODO: automatically from IPartitionedDataset. However, right now TODO: GroupComm. instantiated in IMRUDriver needs this parameter TODO: in constructor. This will be removed once we remove it from GroupComm.
Sets configuration of partitioned dataset
- Parameters
-
partitionedDatasetConfiguration | Configuration |
- Returns
- this
Sets Per Map Configuration
- Parameters
-
perMapperConfig | Mapper configs |
- Returns
Sets configuration of reduce function
- Parameters
-
reduceFunctionConfiguration | Configuration |
- Returns
- this
Sets Result handler Configuration
- Parameters
-
resultHandlerConfig | Result handler config |
- Returns
Sets configuration of codecs needed by Update function
- Parameters
-
updateFunctionCodecsConfiguration | Configuration |
- Returns
- this
Sets configuration of update function
- Parameters
-
updateFunctionConfiguration | Configuration |
- Returns
- this
Set update task cores
- Parameters
-
- Returns
Set update task memory
- Parameters
-
- Returns
The documentation for this class was generated from the following file: