User`s guide

11 Functions — Alphabetical List
11-168
mapreducer(hcluster) specifies a Hadoop cluster for parallel execution of
mapreduce. hcluster is a parallel.cluster.Hadoop object.
mapreducer(mr) sets the global execution environment for mapreduce using a
previously created MapReducer object, mr, if its ObjectVisibility property is 'On'.
mr = mapreducer( ___ ) returns a MapReducer object to specify the execution
environment. You can define several MapReducer objects, allowing you to swap execution
environments by passing one as an input argument to mapreduce.
mr = mapreducer( ___ ,'ObjectVisibility','Off') hides the visibility of the
MapReducer object, mr, using any of the previous syntaxes. Use this syntax to create new
MapReducer objects without affecting the global execution environment of mapreduce.
If this object’s ObjectVisibility property is 'On' (the default), mr defines the default
global execution environment for mapreduce. If the ObjectVisibility property is
'Off', you can pass mr as an input argument to mapreduce to explicitly specify the
execution environment for that particular call.
Examples
“Run mapreduce on a Parallel Pool”
“Run mapreduce on a Hadoop Cluster”
Input Arguments
poolobj — Pool for parallel execution
gcp (default) | parallel.Pool object
Pool for parallel execution, specified as a parallel.Pool object.
Example: p = gcp
hcluster — Hadoop cluster for parallel execution
parallel.cluster.Hadoop object
Hadoop cluster for parallel execution, specified as a parallel.cluster.Hadoop object.
Example: hcluster = parallel.cluster.Hadoop