Yes - take a look at PigCounterHelper. Instantiate a variable of this type, and then you can call the method incrCounter() on it:
_counter = PigCounterHelper()
_counter.incrCounter("Stats","Total sessions",1)
Norbert
On Tue, Jul 30, 2013 at 11:05 AM, Serega Sheypak
<[email protected]>wrote:
> Hi, is there any possibility to have counters in Jython UDF?
> It works for Java, but I would like to use Jython.
>
