Workflow to Run Compiled Standalone Applications Against a Hadoop Cluster - MATLAB & Simulink (original) (raw)

Main Content

  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 Standalone Application Compiler app or themcc 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 ofMATLAB Runtime and any inputs the application takes.
    Execution Signature

See Also

Topics