Define deployed execution for mapreduce
Use this function with MATLAB® Compiler™ to specify information about the execution environment for standalone applications that execute against Hadoop®.
mapreducer(config)
mr = mapreducer(config)
mapreducer(
specifies
execution environment. When deploying a standalone application against Hadoop, config
)config
is
an object of matlab.mapreduce.DeployHadoopMapReducer
class.
mr = mapreducer(... matlab.mapreduce.DeployHadoopMapReducer('MCRRoot',... '/hd-shared/hadoop-2.2.0/MCR/v84'))
mapreducer
and mapreducer(0)
enables
different configurations based on the products you have. In MATLAB, the mapreduce
function
automatically runs using a SerialMapReducer
. For
more information, see mapreducer
.
If you have Parallel
Computing Toolbox™, see the function
reference page for mapreducer
for
additional information.