Examples of submitJob()


Examples of appeng.api.networking.crafting.ICraftingGrid.submitJob()

      OriginalGui = GuiBridge.GUI_PATTERN_TERMINAL;

    if ( result != null && !simulation )
    {
      ICraftingGrid cc = getGrid().getCache( ICraftingGrid.class );
      ICraftingLink g = cc.submitJob( result, null, selectedCpu == -1 ? null : cpus.get( selectedCpu ).cpu, true, getActionSrc() );
      autoStart = false;
      if ( g != null && OriginalGui != null && openContext != null )
      {
        NetworkHandler.instance.sendTo( new PacketSwitchGuis( OriginalGui ), (EntityPlayerMP) invPlayer.player );
View Full Code Here

Examples of appeng.me.cluster.implementations.CraftingCPUCluster.submitJob()

      }
    }

    if ( cpuCluster != null )
    {
      return cpuCluster.submitJob( grid, job, src, requestingMachine );
    }

    return null;
  }
View Full Code Here

Examples of au.org.aodn.reefscenarios.actions.job.ProcessRunner.submitJob()

            System.out.println("job path: " + j.createRunPath());
            User user = new User();
            user.setEmailAddress("pauline.mak@utas.edu.au");

            j.setUserId(user.getUserId());
            runner.submitJob(j);

            System.out.println("new PBS job name: " + j.getPBSJobName());

            Assert.assertEquals(j.getPBSJobName(), "62586");
        }
View Full Code Here

Examples of au.org.aodn.reefscenarios.actions.job.ProcessRunner.submitJob()

        User user = new User();
        user.setEmailAddress("pauline.mak@utas.edu.au");

        j.setUserId(user.getUserId());
        runner.submitJob(j);
       
    }
}
View Full Code Here

Examples of ca.eandb.jdcp.remote.JobService.submitJob()

      JobExecutionException, LoginException, NotBoundException, ProtocolVersionException {

    Serialized<ParallelizableJob> payload = new Serialized<ParallelizableJob>(job);
    JobService service = connect(host, username, password);

    return service.submitJob(payload, description);

  }

  /**
   * Submits a job to a server for processing.
View Full Code Here

Examples of com.netflix.genie.client.ExecutionServiceClient.submitJob()

                bos.close();
            }
        }
        attachments.add(attachment);
        job.setAttachments(attachments);
        job = client.submitJob(job);

        final String jobID = job.getId();
        final String outputURI = job.getOutputURI();
        LOG.info("Job ID: " + jobID);
        LOG.info("Output URL: " + outputURI);
View Full Code Here

Examples of edu.berkeley.sparrow.api.SparrowFrontendClient.submitJob()

        tasks.add(spec);
      }
      TUserGroupInfo userInfo = new TUserGroupInfo("User", "*", 0);
     
      while(true) {
        client.submitJob(APPLICATION_ID, tasks, userInfo);
        tasksLaunched.addAndGet(tasks.size());
        LOG.info(tasksLaunched.get() + " tasks launched");
     
        Thread.sleep(1000);
      }
View Full Code Here

Examples of edu.berkeley.sparrow.thrift.SchedulerService.Client.submitJob()

  }

  public boolean submitRequest(TSchedulingRequest request) {
    try {
      Client client = clients.take();
      client.submitJob(request);
      clients.put(client);
    } catch (InterruptedException e) {
      LOG.fatal(e);
    } catch (TException e) {
      LOG.error("Thrift exception when submitting job: " + e.getMessage());
View Full Code Here

Examples of eu.stratosphere.nephele.client.JobClient.submitJob()

      final JobGraph jobGraph = getJobGraph(plan);

      final long startingTime = System.currentTimeMillis();
      long cancelTime = -1L;
      final JobClient client = this.executor.getJobClient(jobGraph);
      final JobSubmissionResult submissionResult = client.submitJob();
      if (submissionResult.getReturnCode() != AbstractJobResult.ReturnCode.SUCCESS) {
        throw new IllegalStateException(submissionResult.getDescription());
      }

      final int interval = client.getRecommendedPollingInterval();
View Full Code Here

Examples of gri.tasks.managers.JobManager.submitJob()

   
    JobEntry job;
   
    try {
      JobSubmission submission = createJobSubmission();
      String jobId = jobManager.submitJob(submission);
      job = new JobEntry(submission.getTaskId(), jobId, jobManager);
    }
    catch(Exception e) {
      messenger.error(e);
      return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.