edu.isi.pegasus.planner.partitioner
Class One2One
java.lang.Object
edu.isi.pegasus.planner.partitioner.Partitioner
edu.isi.pegasus.planner.partitioner.One2One
public class One2One
- extends Partitioner
This partitioning technique considers each of the job in the dax as a
separate partition. This is used for Euryale style mode of operation in
Pegasus.
- Version:
- $Revision: 2576 $
- Author:
- Karan Vahi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTION
public static final String DESCRIPTION
- A short description about the partitioner.
- See Also:
- Constant Field Values
One2One
public One2One(GraphNode root,
Map graph,
PegasusProperties properties)
- The overloaded constructor.
- Parameters:
root - the dummy root node of the graph.graph - the map containing all the nodes of the graph keyed by
the logical id of the nodes.properties - the properties passed to the planner.
determinePartitions
public void determinePartitions(Callback c)
- This ends up writing out a partition for each job in the dax. It is a
one 2 one mapping from the jobs in the dax to the corresponding
partitions in the pdax. The ids of the partitions in pdax is same
as the ids of the corresponding jobs in the dax.
- Specified by:
determinePartitions in class Partitioner
- Parameters:
c - the callback object to callout to while partitioning.
description
public String description()
- Returns a textual description of the transfer implementation.
- Specified by:
description in class Partitioner
- Returns:
- a short textual description
Copyright © 2011 The University of Southern California. All Rights Reserved.