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

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


      TezCounterGroup g = new TezCounterGroup();
      g.name = new Utf8(group.getName());
      g.displayName = new Utf8(group.getDisplayName());
      g.counts = new ArrayList<TezCounter>(group.size());
      for (org.apache.tez.common.counters.TezCounter counter : group) {
        TezCounter c = new TezCounter();
        c.name = new Utf8(counter.getName());
        c.displayName = new Utf8(counter.getDisplayName());
        c.value = counter.getValue();
        g.counts.add(c);
      }
View Full Code Here

TOP

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

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.