In creating a deployable archive, you must create a Hadoop® settings file that contains
configuration details. If you are using mcc
, create
a text file. If you are using deploytool
, the Hadoop
Compiler app automatically creates the file for you when you select
the map function, the reduce function, the input type, and the output
type. You can view the contents of your settings file in the Configuration
file contents section of the Hadoop Compiler app.
Parameter Type | Description | Default Value |
---|---|---|
| MATLAB® map function name | Hadoop identity map function |
| MATLAB reduce function name | Hadoop identity reduce function |
| MATLAB input type The input type is of two types, |
|
| This parameter is valid with | None |
| This parameter is valid with | 1 |
| MATLAB output type The output type is of two types, |
|
This example shows a settings file with tabulartext
input
type:
mw.mapper = maxArrivalDelayMapper
mw.reducer = maxArrivalDelayReducer
mw.ds.in.type = tabulartext
mw.ds.in.format = airlinesmall.mat
mw.ds.out.type = tabulartext
This example shows a settings file with binary
input
type:
mw.mapper = maxArrivalDelayMapper
mw.reducer = maxArrivalDelayReducer
mw.ds.in.type = binary
mw.ds.in.readsize = 1
mw.ds.out.type = tabulartext