RE: Group names for custom Counters

2013-03-25 Thread Tony Burton
@hadoop.apache.org Subject: Re: Group names for custom Counters Just a suggestion, look at dynamic counters... For the group, just create a group name and you are done. Sent from a remote device. Please excuse any typos... Mike Segel On Mar 22, 2013, at 11:17 AM, Tony Burton mailto:tbur

Re: Group names for custom Counters

2013-03-22 Thread Michel Segel
Just a suggestion, look at dynamic counters... For the group, just create a group name and you are done. Sent from a remote device. Please excuse any typos... Mike Segel On Mar 22, 2013, at 11:17 AM, Tony Burton wrote: > Hi list, > > I'm using Hadoop 1.0.3 and creating some custom Counters i

Group names for custom Counters

2013-03-22 Thread Tony Burton
Hi list, I'm using Hadoop 1.0.3 and creating some custom Counters in my Mapper. I've got an enum that defines the list of counters, and I'm incrementing in the map function using context.getCounter().increment(1). I see that there's another implementation of context.getCounter() that takes arg