Package org.apache.tez.dag.history.avro

Examples of org.apache.tez.dag.history.avro.TezCounters


public class AvroUtils {

  public static TezCounters toAvro(
      org.apache.tez.common.counters.TezCounters counters) {
    TezCounters result = new TezCounters();
    result.groups = new ArrayList<TezCounterGroup>(0);
    if (counters == null) return result;
    for (CounterGroup group : counters) {
      TezCounterGroup g = new TezCounterGroup();
      g.name = new Utf8(group.getName());
View Full Code Here

TOP

Related Classes of org.apache.tez.dag.history.avro.TezCounters

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.