Examples of JobNotFoundException


Examples of it.eng.spagobi.engines.talend.exception.JobNotFoundException

       
        executableJobDir = runtimeRepository.getExecutableJobDir(job);
        logger.debug("Job base folder is equals to [" + runtimeRepository.getExecutableJobDir(job) + "]");
               
        if (!runtimeRepository.containsJob(job)) {         
          throw new JobNotFoundException("Job [" +
              runtimeRepository.getExecutableJobFile(job) + "] not found in repository");
        }
        logger.debug("Job [" + job.getName() +"] succesfully found in repository");
       
        tempDir = getTempDir(job);
View Full Code Here

Examples of it.eng.spagobi.engines.talend.exception.JobNotFoundException

      logger.debug("Job base folder: " + executableJobDir);
     
           

      if (!runtimeRepository.containsJob(job)) {         
        throw new JobNotFoundException("Job executable file " +
            runtimeRepository.getExecutableJobFile(job) + " does not exist.");
      }
     
      TalendEngineConfig config = TalendEngineConfig.getInstance();
      String cmd = config.getPerlInstallDir() + File.separatorChar + config.getPerlBinDir()+
View Full Code Here

Examples of org.activiti.engine.JobNotFoundException

        .getJobEntityManager()
        .findJobById(jobId);
    }
   
    if (job == null) {
      throw new JobNotFoundException(jobId);
    }
   
    if (log.isDebugEnabled()) {
      log.debug("Executing job {}", job.getId());
    }
View Full Code Here

Examples of org.activiti.engine.JobNotFoundException

    JobEntity job = commandContext
      .getJobManager()
      .findJobById(jobId);
   
    if (job == null) {
      throw new JobNotFoundException(jobId);
    }
   
    JobExecutorContext jobExecutorContext = Context.getJobExecutorContext();
    if(jobExecutorContext != null) { // if null, then we are not called by the job executor    
      jobExecutorContext.setCurrentJob(job);
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

              public JobInProgress run() {
                return jobTracker.getJob(jid);
              }
            });
            if (job == null) {
              throw new JobNotFoundException();
            }

            return assumeUserContextAndExecute(ctx, new PrivilegedAction<ThriftJobInProgress>() {
              public ThriftJobInProgress run() {
                return JTThriftUtils.toThrift(job, jobTracker);
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

                return jobTracker.getJobStatus(jid);
              }
            });

            if (jobStatus == null) {
              throw new JobNotFoundException();
            }

            return assumeUserContextAndExecute(ctx, new PrivilegedAction<ThriftJobInProgress>() {
              public ThriftJobInProgress run() {
                return JTThriftUtils.toThrift(jobTracker.getJobProfile(jid), jobStatus);
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

                return jobTracker.getJob(jid);
              }
            });

            if (job == null)
              throw new JobNotFoundException();

            // Gather all the tasks of the matching type
            List<TaskInProgress> allTips = new ArrayList<TaskInProgress>();
            synchronized(job) {
                if (types.contains(ThriftTaskType.MAP))
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

              public JobInProgress run() {
                return jobTracker.getJob(jobId);
              }
            });
            if (job == null)
                throw new JobNotFoundException();
            TaskInProgress tip = assumeUserContextAndExecute(ctx, new PrivilegedAction<TaskInProgress>() {
              public TaskInProgress run() {
                return job.getTaskInProgress(taskId);
              }
            });
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

                        return jobTracker.getJobCounters(JTThriftUtils.fromThrift(jobID));
                    }
                }
              });
            } catch (IOException e) {
              throw new JobNotFoundException();
            }
            if (jcs == null) {
                throw new JobNotFoundException();
            }
            return new ThriftGroupList(JTThriftUtils.toThrift(jcs));
        }
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.JobNotFoundException

              public JobInProgress run() {
                return jobTracker.getJob(JTThriftUtils.fromThrift(jobID));
              }
            });
            if (jip == null) {
                throw new JobNotFoundException();
            }

            ThriftJobCounterRollups ret = new ThriftJobCounterRollups();
            Counters mapCounters = jip.getMapCounters();
            Counters reduceCounters = jip.getReduceCounters();
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.