Hi,

In looking at "The Definitive Guide"  pgs 211-218 looking at the documentation 
for counters have a question about how to use the

dynamic (String, String) methods to create/access counters.

Looking at the IdentityTableMap class, the following map() method exists():
public void map(ImmutableBytesWritable key,
                RowResult value,
                
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,RowResult> 
output,
                org.apache.hadoop.mapred.Reporter reporter)
         throws IOExceptionThis method is deprecated in 20.5

So how can you get the Reporter so you can use the 'reporter.incrCounter(String 
group,String counter, long amount)'
method. (See pg 214 code fragment) 

I must be missing something.

Thx

-Mike


                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

Reply via email to