/** * Requests and returns the accumulators for the given job identifier. Accumulators can be * requested while a is running or after it has finished. The default class loader is used * to deserialize the incoming accumulator results. * @param jobID The job identifier of a job. * @return A Map containing the accumulator's name and its value. */ public Map<String, OptionalFailure<Object>> getAccumulators(JobID jobID) throws Exception { return getAccumulators(jobID, ClassLoader.getSystemClassLoader()); }
while (DEADLINE.hasTimeLeft()) { Thread.sleep(100); Map<String, OptionalFailure<Object>> accumulators = client.getAccumulators(jobSubmissionResult.getJobID());
Map<String, OptionalFailure<Object>> accumulators = client.getAccumulators(jobId);
() -> { try { return CompletableFuture.completedFuture(client.getAccumulators(jobGraph.getJobID())); } catch (Exception e) { return FutureUtils.completedExceptionally(e);
/** * Requests and returns the accumulators for the given job identifier. Accumulators can be * requested while a is running or after it has finished. The default class loader is used * to deserialize the incoming accumulator results. * @param jobID The job identifier of a job. * @return A Map containing the accumulator's name and its value. */ public Map<String, Object> getAccumulators(JobID jobID) throws Exception { return getAccumulators(jobID, ClassLoader.getSystemClassLoader()); }
/** * Requests and returns the accumulators for the given job identifier. Accumulators can be * requested while a is running or after it has finished. The default class loader is used * to deserialize the incoming accumulator results. * @param jobID The job identifier of a job. * @return A Map containing the accumulator's name and its value. */ public Map<String, OptionalFailure<Object>> getAccumulators(JobID jobID) throws Exception { return getAccumulators(jobID, ClassLoader.getSystemClassLoader()); }
/** * Requests and returns the accumulators for the given job identifier. Accumulators can be * requested while a is running or after it has finished. The default class loader is used * to deserialize the incoming accumulator results. * @param jobID The job identifier of a job. * @return A Map containing the accumulator's name and its value. */ public Map<String, OptionalFailure<Object>> getAccumulators(JobID jobID) throws Exception { return getAccumulators(jobID, ClassLoader.getSystemClassLoader()); }