/** * The class loader necessary to deserialize the result of a job execution, * i.e. JobExecutionResult or Exceptions * @return The class loader for the job id * @throws JobRetrievalException if anything goes wrong */ public ClassLoader getClassLoader() throws JobRetrievalException { if (classLoader == null) { // lazily initializes the class loader when it is needed classLoader = JobClient.retrieveClassLoader( jobID, getJobManager(), configuration, highAvailabilityServices); LOG.info("Reconstructed class loader for Job {}", jobID); } return classLoader; }
/** * The class loader necessary to deserialize the result of a job execution, * i.e. JobExecutionResult or Exceptions * @return The class loader for the job id * @throws JobRetrievalException if anything goes wrong */ public ClassLoader getClassLoader() throws JobRetrievalException { if (classLoader == null) { // lazily initializes the class loader when it is needed classLoader = JobClient.retrieveClassLoader( jobID, new AkkaJobManagerGateway(getJobManager()), configuration, highAvailabilityServices, Time.milliseconds(timeout.toMillis())); LOG.info("Reconstructed class loader for Job {}", jobID); } return classLoader; }
/** * The class loader necessary to deserialize the result of a job execution, * i.e. JobExecutionResult or Exceptions * @return The class loader for the job id * @throws JobRetrievalException if anything goes wrong */ public ClassLoader getClassLoader() throws JobRetrievalException { if (classLoader == null) { // lazily initializes the class loader when it is needed classLoader = JobClient.retrieveClassLoader( jobID, new AkkaJobManagerGateway(getJobManager()), configuration, highAvailabilityServices, Time.milliseconds(timeout.toMillis())); LOG.info("Reconstructed class loader for Job {}", jobID); } return classLoader; }
/** * The class loader necessary to deserialize the result of a job execution, * i.e. JobExecutionResult or Exceptions * @return The class loader for the job id * @throws JobRetrievalException if anything goes wrong */ public ClassLoader getClassLoader() throws JobRetrievalException { if (classLoader == null) { // lazily initializes the class loader when it is needed classLoader = JobClient.retrieveClassLoader( jobID, new AkkaJobManagerGateway(getJobManager()), configuration, highAvailabilityServices, Time.milliseconds(timeout.toMillis())); LOG.info("Reconstructed class loader for Job {}", jobID); } return classLoader; }