User`s guide
parallel.cluster.Hadoop
11-213
parallel.cluster.Hadoop
Create Hadoop cluster object
Syntax
hcluster = parallel.cluster.Hadoop
hcluster = parallel.cluster.Hadoop(Name,Value)
Description
hcluster = parallel.cluster.Hadoop creates a parallel.cluster.Hadoop object
representing the Hadoop cluster.
You use the resulting object as input to the mapreducer function, for specifying the
Hadoop cluster as the mapreduce parallel execution environment.
hcluster = parallel.cluster.Hadoop(Name,Value) uses the specified names and
values to set properties on the created parallel.cluster.Hadoop object.
Examples
Set Hadoop Cluster as mapreduce Execution Environment
This example shows how to create and use a parallel.cluster.Hadoop object to set a
Hadoop cluster as the mapreduce parallel execution environment.
hcluster = parallel.cluster.Hadoop('HadoopInstallFolder','/host/hadoop-install');
mr = mapreducer(hcluster);
• “Run mapreduce on a Hadoop Cluster”