com.cloudera.crunch.test
Class TestCounters

java.lang.Object
  extended by com.cloudera.crunch.test.TestCounters

public class TestCounters
extends Object

A utility class used during unit testing to update and read counters.


Constructor Summary
TestCounters()
           
 
Method Summary
static void clearCounters()
           
static org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> e)
           
static org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCounters

public TestCounters()
Method Detail

getCounter

public static org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> e)

getCounter

public static org.apache.hadoop.mapreduce.Counter getCounter(String group,
                                                             String name)

clearCounters

public static void clearCounters()


Copyright © 2012. All Rights Reserved.