Package org.apache.tez.mapreduce.hadoop.mapred.MRCounters

Examples of org.apache.tez.mapreduce.hadoop.mapred.MRCounters.MRCounter


    public Counter getCounter(Enum<?> name) {
        if (context == null) {
            return null;
        }
        TezCounter tezCounter = context.getCounters().findCounter(name);
        return new MRCounter(tezCounter);
    }
View Full Code Here


    public Counter getCounter(String group, String name) {
        if (context == null) {
            return null;
        }
        TezCounter tezCounter = context.getCounters().getGroup(group).findCounter(name);
        return new MRCounter(tezCounter);
    }
View Full Code Here

TOP

Related Classes of org.apache.tez.mapreduce.hadoop.mapred.MRCounters.MRCounter

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.