MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 557

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 556
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”
Zobrazit stránku 556
1 2 ... 552 553 554 555 556 557 558 559 560 561 562 ... 655 656

Komentáře k této Příručce

Žádné komentáře