|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.transfer.implementation.Abstract
org.griphyn.cPlanner.transfer.implementation.AbstractMultipleFTPerXFERJob
org.griphyn.cPlanner.transfer.implementation.Condor
public class Condor
A prototype implementation that leverages the Condor file transfer mechanism to do the transfer to the remote directory . Currently, this will only work for staging in data to a remote site from the submit host.
Additionally, this will only work with local replica selector that prefers file urls from the submit host for staging.
In order to use the transfer implementation implemented by this class,
- property pegasus.transfer.stagein.impl must be set to
value Condor.
- property pegasus.selector.replica must be set to value
Local
| Field Summary | |
|---|---|
static String |
DERIVATION_NAME
The name of the underlying derivation. |
static String |
DERIVATION_NAMESPACE
The derivation namespace for for the transfer job. |
static String |
DERIVATION_VERSION
The derivation version number for the transfer job. |
static String |
DESCRIPTION
A short description of the transfer implementation. |
static String |
TRANSFORMATION_NAME
The name of the underlying transformation that is queried for in the Transformation Catalog. |
static String |
TRANSFORMATION_NAMESPACE
The transformation namespace for the transfer job. |
static String |
TRANSFORMATION_VERSION
The version number for the transfer job. |
| Fields inherited from class org.griphyn.cPlanner.transfer.implementation.Abstract |
|---|
CHANGE_XBIT_TRANSFORMATION, mDisabledChmodSites, mLocalUserProxy, mLocalUserProxyBasename, mLogger, mPOptions, mProps, mRefiner, mSCHandle, mTCHandle, NOOP_PREFIX, SET_XBIT_PREFIX, XBIT_DERIVATION_NS, XBIT_DERIVATION_VERSION, XBIT_TRANSFORMATION_NS, XBIT_TRANSFORMATION_VERSION |
| Fields inherited from interface org.griphyn.cPlanner.transfer.Implementation |
|---|
TRANSFER_UNIVERSE, VERSION |
| Constructor Summary | |
|---|---|
Condor(PegasusProperties properties,
PlannerOptions options)
The overloaded constructor, that is called by the Factory to load the class. |
|
| Method Summary | |
|---|---|
TransferJob |
createTransferJob(SubInfo job,
Collection files,
Collection execFiles,
String txJobName,
int jobClass)
Constructs a condor file transfer job that handles multiple transfers. |
boolean |
doesPreserveXBit()
Returns a boolean indicating whether the transfer protocol being used by the implementation preserves the X Bit or not while staging. |
protected String |
generateArgumentString(TransferJob job)
It constructs the arguments to the transfer executable that need to be passed to the executable referred to in this transfer mode. |
protected String |
getCompleteTCName()
Returns the complete name for the transformation. |
protected String |
getDerivationName()
Returns the logical name of the derivation that this implementation refers to. |
protected String |
getDerivationNamespace()
Returns the namespace of the derivation that this implementation refers to. |
protected String |
getDerivationVersion()
Returns the version of the derivation that this implementation refers to. |
String |
getDescription()
Returns a textual description of the transfer implementation. |
protected List |
getEnvironmentVariables(String site)
Returns the environment profiles that are required for the default entry to sensibly work. |
TransformationCatalogEntry |
getTransformationCatalogEntry(String siteHandle)
Retrieves the transformation catalog entry for the executable that is being used to transfer the files in the implementation. |
boolean |
useThirdPartyTransferAlways()
Return a boolean indicating whether the transfers to be done always in a third party transfer mode. |
protected void |
writeJumboStdIn(FileWriter stdIn,
Collection files)
Writes to a FileWriter stream the stdin which goes into the magic script via standard input |
| Methods inherited from class org.griphyn.cPlanner.transfer.implementation.AbstractMultipleFTPerXFERJob |
|---|
defaultTCEntry, postProcess, prepareSTDIN |
| Methods inherited from class org.griphyn.cPlanner.transfer.implementation.Abstract |
|---|
addSetXBitJobs, addSetXBitJobs, addSetXBitJobs, applyPriority, checkAndTransferProxy, construct, createNoOPJob, createSetXBitJob, determineDisabledChmodSites, disableChmodJobCreation, getNOOPJobName, getPathToUserProxy, getPriority, getSetXBitJobName, setRefiner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TRANSFORMATION_NAMESPACE
public static final String TRANSFORMATION_NAME
public static final String TRANSFORMATION_VERSION
public static final String DERIVATION_NAMESPACE
public static final String DERIVATION_NAME
public static final String DERIVATION_VERSION
public static final String DESCRIPTION
| Constructor Detail |
|---|
public Condor(PegasusProperties properties,
PlannerOptions options)
properties - the properties object.options - the options passed to the Planner.| Method Detail |
|---|
public boolean doesPreserveXBit()
protected String generateArgumentString(TransferJob job)
generateArgumentString in class AbstractMultipleFTPerXFERJobjob - the object containing the transfer node.
protected String getCompleteTCName()
getCompleteTCName in class AbstractMultipleFTPerXFERJobprotected String getDerivationName()
getDerivationName in class AbstractMultipleFTPerXFERJobprotected String getDerivationNamespace()
getDerivationNamespace in class AbstractMultipleFTPerXFERJobprotected String getDerivationVersion()
getDerivationVersion in class AbstractMultipleFTPerXFERJobpublic String getDescription()
protected List getEnvironmentVariables(String site)
getEnvironmentVariables in class AbstractMultipleFTPerXFERJobsite - the site where the job is going to run.
public TransferJob createTransferJob(SubInfo job,
Collection files,
Collection execFiles,
String txJobName,
int jobClass)
createTransferJob in interface ImplementationcreateTransferJob in class AbstractMultipleFTPerXFERJobjob - the SubInfo object for the job, in relation to which
the transfer node is being added. Either the transfer
node can be transferring this jobs input files to
the execution pool, or transferring this job's output
files to the output pool.files - collection of FileTransfer objects
representing the data files and staged executables to be
transferred.execFiles - subset collection of the files parameter, that identifies
the executable files that are being transferred.txJobName - the name of transfer node.jobClass - the job Class for the newly added job. Can be one of the
following:
stage-in
stage-out
inter-pool transfer
public TransformationCatalogEntry getTransformationCatalogEntry(String siteHandle)
siteHandle - the handle of the site where the transformation is
to be searched.
public boolean useThirdPartyTransferAlways()
PegasusProperties.getThirdPartySites(String)
protected void writeJumboStdIn(FileWriter stdIn,
Collection files)
throws Exception
writeJumboStdIn in class AbstractMultipleFTPerXFERJobstdIn - the writer to the stdin file.files - Collection of FileTransfer objects
containing the information about sourceam fin and destURL's.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||