I want to acces the myCounter.my value in reducer :
public static class Map extends Mapper
You can access your counter value in reducer using the same code
Counter counter = context.getCounter( myCounter.my ); counter.getValue();
also see