MATLAB Help Center
Define deployed execution for mapreduce
mapreducer(config)
mr = mapreducer(config)
Use this function with MATLAB® Compiler™ to specify information about the execution environment for standalone applications that execute against Hadoop®.
mapreducer(config) specifies execution environment. When deploying a standalone application against Hadoop, config is an object of matlab.mapreduce.DeployHadoopMapReducer class.
config
matlab.mapreduce.DeployHadoopMapReducer
mr = mapreducer(config) returns a MapReducer object to specify the execution environment. You can define MapReducer objects, allowing you to swap execution environments by passing one as an input argument to mapreduce.
mr
mapreduce
mr = mapreducer(... matlab.mapreduce.DeployHadoopMapReducer('MCRRoot',... '/hd-shared/hadoop-2.2.0/MCR/v84'))
collapse all
mapreducer
mapreducer object for running in deployed environment, specified as a matlab.mapreduce.DeployHadoopMapReducer object.
Example: config = mapreducer(matlab.mapreduce.DeployHadoopMapReducer('MCRRoot','/hd-shared/hadoop-2.2.0/MCR/v84'))
config = mapreducer(matlab.mapreduce.DeployHadoopMapReducer('MCRRoot','/hd-shared/hadoop-2.2.0/MCR/v84'))
Execution environment for mapreduce, returned as a mapreducer object.
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.
mapreducer(0)
SerialMapReducer
If you have Parallel Computing Toolbox™, see the function reference page for mapreducer (Parallel Computing Toolbox) for additional information.
Introduced in R2014b
gcmr
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office