Package org.apache.airavata.orchestrator.core.job

Examples of org.apache.airavata.orchestrator.core.job.JobSubmitter


        }
        return orchestratorConfiguration;
    }

    public static HostDescription getHostDescription(Orchestrator orchestrator, TaskDetails taskDetails)throws OrchestratorException {
        JobSubmitter jobSubmitter = ((SimpleOrchestratorImpl) orchestrator).getJobSubmitter();
        AiravataRegistry2 registry = ((GFACEmbeddedJobSubmitter) jobSubmitter).getOrchestratorContext().getRegistry();
        ComputationalResourceScheduling taskScheduling = taskDetails.getTaskScheduling();
        String resourceHostId = taskScheduling.getResourceHostId();
        try {
            return registry.getHostDescriptor(resourceHostId);
View Full Code Here

TOP

Related Classes of org.apache.airavata.orchestrator.core.job.JobSubmitter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.