Main Content

Workflow to Run Compiled Standalone Applications Against a Hadoop Cluster

  1. Write mapper and reducer functions in MATLAB®.

  2. 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.

  3. 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.

  4. Run the shell scripts at the terminal. Specify the location of MATLAB Runtime and any inputs the application takes.

    Execution Signature

Related Topics