Workflow to Run Compiled Standalone Applications Against a Hadoop Cluster
Write mapper and reducer functions in MATLAB®.
Write a MATLAB application script or function that calls the mapper and reducer functions. While writing applications it is preferable to structure them as MATLAB functions over scripts since functions accept inputs. End users can make use of this and pass inputs such as the location of the data to the application.
Use the Application Compiler app or the
mcc
command to package your application as a standalone application. Both options generate an executable and a shell script to run the executable.Run the shell scripts at the terminal. Specify the location of MATLAB Runtime and any inputs the application takes.
Execution Signature