| Constructor and Description |
|---|
SlurmDriver() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCheckEnvironmentCommand()
Build the command to check the environment state.
|
String |
buildCheckJobCommand(csbase.sga.executor.JobData jobData)
Build the command to check the information of a job.
|
String |
buildCheckJobListCommand(csbase.sga.executor.JobData[] jobDataList)
Build the command to check the information of a list of jobs in the
execution environment.
|
String |
buildKillJobCommand(csbase.sga.executor.JobData jobData)
Build the command to kill a job in the execution environment.
|
String |
buildSubmitJobCommand(String script,
Map<String,String> extraParam)
Build the command to submit a job in the execution environment.
|
void |
init(Properties properties) |
csbase.sga.monitor.SGAInfo |
parseCheckEnvironmentOutput(String output)
Parse the output of the command to check the environment.
|
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckJobListOutput(csbase.sga.executor.JobData[] jobDataList,
String output)
Parse the output of the command to check a list of jobs in the execution
environment.
|
csbase.sga.executor.JobInfo |
parseCheckJobOutput(csbase.sga.executor.JobData jobData,
String output)
Parse the output of the command to check one job in the execution environment.
|
csbase.sga.executor.JobData |
parseJobSubmissionOutput(String output)
Parse the output of the command to submit a job in the execution
environment.
|
public void init(Properties properties)
public String buildSubmitJobCommand(String script, Map<String,String> extraParam)
SGADriverbuildSubmitJobCommand in interface SGADriverscript - script to executeextraParam - extra parameters to the execution environmentpublic csbase.sga.executor.JobData parseJobSubmissionOutput(String output)
SGADriverparseJobSubmissionOutput in interface SGADriveroutput - the output to parseJobData representing the jobpublic String buildCheckJobCommand(csbase.sga.executor.JobData jobData)
SGADriverbuildCheckJobCommand in interface SGADriverjobData - the JobData representing the jobpublic csbase.sga.executor.JobInfo parseCheckJobOutput(csbase.sga.executor.JobData jobData,
String output)
SGADriverparseCheckJobOutput in interface SGADriverjobData - the JobData representing the joboutput - the output to parseJobInfopublic String buildCheckJobListCommand(csbase.sga.executor.JobData[] jobDataList)
SGADriverbuildCheckJobListCommand in interface SGADriverpublic Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckJobListOutput(csbase.sga.executor.JobData[] jobDataList, String output)
SGADriverparseCheckJobListOutput in interface SGADriverjobDataList - the array of JobData representing the jobsoutput - the output to parseJobData and the corresponding JobInfopublic String buildKillJobCommand(csbase.sga.executor.JobData jobData)
SGADriverbuildKillJobCommand in interface SGADriverjobData - the JobData representing the jobpublic String buildCheckEnvironmentCommand()
SGADriverbuildCheckEnvironmentCommand in interface SGADriverpublic csbase.sga.monitor.SGAInfo parseCheckEnvironmentOutput(String output)
SGADriverparseCheckEnvironmentOutput in interface SGADriveroutput - the output to parseSGAInfo containing the environment state.Copyright © 2016. All rights reserved.