Changes between Version 1 and Version 2 of ComputeStartExample1


Ignore:
Timestamp:
2010-11-05T12:27:07+01:00 (14 years ago)
Author:
george
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ComputeStartExample1

    v1 v2  
    11= Job Manager Example1 =
     2
     3The Job Manager logic is rather straightforward and can be easily adjusted for use in a specific cluster or server. After a job object is received by Job Manager, it is registered in the database and passed to the Worker nodes for execution.
     4
     5This code example sends all jobs to one Resident Worker on the cluster for execution.
     6For this the local GridGain node should excluded from the grid topology in the
     7[http://www.molgenis.org/svn/sandbox/molgenis_processing/3.3.galaxy/ScriptbasedComputePlatform/src/grid/GridStarter.java GridStarter]
     8
     9{{{
     10GridBasicTopologySpi topSpi = new GridBasicTopologySpi();
     11
     12// Exclude local node from topology.
     13topSpi.setLocalNode(false);
     14
     15// Configure your own topology SPI.
     16cfg.setTopologySpi(topSpi);
     17}}}
     18