| java.lang.Object org.griphyn.cPlanner.code.gridstart.NoGridStart
NoGridStart | public class NoGridStart implements GridStart(Code) | | This class ends up running the job directly on the grid, without wrapping
it in any other launcher executable.
It ends up connecting the jobs stdio and stderr to condor commands to
ensure they are sent back to the submit host.
author: Karan Vahi vahi@isi.edu version: $Revision: 451 $ |
Field Summary | |
final public static String | CLASSNAME The basename of the class that is implmenting this. | final public static String | SHORT_NAME The SHORTNAME for this implementation. | protected PegasusProperties | mProps The object holding all the properties pertaining to Pegasus. |
Method Summary | |
public boolean | canSetXBit() | public String | defaultPOSTScript() Returns the SHORT_NAME for the POSTScript implementation that is used
to be as default with this GridStart implementation. | public AggregatedJob | enable(AggregatedJob aggJob, Collection jobs) Enables a collection of jobs and puts them into an AggregatedJob.
The assumption here is that all the jobs are being enabled by the same
implementation. | public boolean | enable(SubInfo job, boolean isGlobusJob) Enables a job to run on the grid by launching it directly. | public String | generateListofFilenamesFile(Set files, String basename) Writes out the list of filenames file for the job. | public String | getVDSKeyValue() Returns the value of the vds profile with key as VDS.GRIDSTART_KEY,
that would result in the loading of this particular implementation. | public void | initialize(PegasusBag bag, ADag dag) Initializes the GridStart implementation. | public String | shortDescribe() Returns a short textual description in the form of the name of the class. |
CLASSNAME | final public static String CLASSNAME(Code) | | The basename of the class that is implmenting this. Could have
been determined by reflection.
|
SHORT_NAME | final public static String SHORT_NAME(Code) | | The SHORTNAME for this implementation.
|
canSetXBit | public boolean canSetXBit()(Code) | | Indicates whether the enabling mechanism can set the X bit
on the executable on the remote grid site, in addition to launching
it on the remote grid stie
false, as no wrapper executable is being used. |
defaultPOSTScript | public String defaultPOSTScript()(Code) | | Returns the SHORT_NAME for the POSTScript implementation that is used
to be as default with this GridStart implementation.
the identifier for the NoPOSTScript POSTScript implementation. See Also: POSTScript.shortDescribe |
enable | public AggregatedJob enable(AggregatedJob aggJob, Collection jobs)(Code) | | Enables a collection of jobs and puts them into an AggregatedJob.
The assumption here is that all the jobs are being enabled by the same
implementation. It enables the jobs and puts them into the AggregatedJob
that is passed to it.
Parameters: aggJob - the AggregatedJob into which the collection has to beintegrated. Parameters: jobs - the collection of jobs (SubInfo) that need to be enabled. the AggregatedJob containing the enabled jobs. See Also: NoGridStart.enable(SubInfo,boolean) |
enable | public boolean enable(SubInfo job, boolean isGlobusJob)(Code) | | Enables a job to run on the grid by launching it directly. It ends
up running the executable directly without going through any intermediate
launcher executable. It connects the stdio, and stderr to underlying
condor mechanisms so that they are transported back to the submit host.
Parameters: job - the SubInfo object containing the job descriptionof the job that has to be enabled on the grid. Parameters: isGlobusJob - is true , if the job generated aline universe = globus , and thus runs remotely.Set to false , if the job runs on the submithost in any way. boolean true if enabling was successful,else false in case whenthe path to kickstart could not be determined on the site wherethe job is scheduled. |
generateListofFilenamesFile | public String generateListofFilenamesFile(Set files, String basename)(Code) | | Writes out the list of filenames file for the job.
Parameters: files - the list of PegasusFile objects contains the fileswhose stat information is required. Parameters: basename - the basename of the file that is to be created the full path to lof file created, else null if no file is written out. |
getVDSKeyValue | public String getVDSKeyValue()(Code) | | Returns the value of the vds profile with key as VDS.GRIDSTART_KEY,
that would result in the loading of this particular implementation.
It is usually the name of the implementing class without the
package name.
the value of the profile key. See Also: org.griphyn.cPlanner.namespace.VDS.GRIDSTART_KEY |
initialize | public void initialize(PegasusBag bag, ADag dag)(Code) | | Initializes the GridStart implementation.
Parameters: bag - the bag of objects that is used for initialization. Parameters: dag - the concrete dag so far. |
shortDescribe | public String shortDescribe()(Code) | | Returns a short textual description in the form of the name of the class.
short textual description. |
|
|