Thanks Asif. One more question here. Can I access the same counter through new and old API? Say I increase the counter to some value using new api, and get it back using old api (the group and counter name are the same), can I see the value I want? Pig seems mess up the new and old api and I have to access the counter through both of them.
Thanks. -Gang ----- 原始邮件 ---- 发件人: Asif Jan <[email protected]> 收件人: [email protected] 发送日期: 2010/7/19 (周一) 4:41:28 下午 主 题: Re: manipulate counters in new api context.getCounter(Status.failed).increment(1); cheers On Jul 19, 2010, at 9:48 PM, Gang Luo wrote: > Hi all, > I find the map/reduce method in the new api look like map/reduce(Object, > Iterable, Context). No Reporter appears here as in the old api. How to add and > modify counters in the new api? > > Thanks, > -Gang > > > >
