Package org.apache.flink.runtime.accumulators

Examples of org.apache.flink.runtime.accumulators.AccumulatorEvent


    // Report accumulators to JobManager
    synchronized (env.getAccumulatorProtocolProxy()) {
      try {
        env.getAccumulatorProtocolProxy().reportAccumulatorResult(
            new AccumulatorEvent(env.getJobID(), accumulators));
      } catch (IOException e) {
        throw new RuntimeException("Communication with JobManager is broken. Could not send accumulators.", e);
      }
    }
View Full Code Here


        )));
  }

  @Override
  public AccumulatorEvent getAccumulatorResults(JobID jobID) throws IOException {
    return new AccumulatorEvent(jobID, this.accumulatorManager.getJobAccumulators(jobID));
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.accumulators.AccumulatorEvent

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.