module Mapred_config:Configuration of mapred serverssig
..end
class type mapred_config =object
..end
val extract_config : Netplex_types.config_file -> mapred_config
netplex {
...
namenodes {
clustername = "cluster1";
node { addr = "hostname:port" }
node { addr = "hostname:port" }
...
}
mapred {
node { addr = "hostname" }
node { addr = "hostname" }
...
port = 1234;
tmpdir = "/somewhere";
load_limit = 8.1;
}
}