crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clément MATHIEU <>
Subject Using counters in OutputFormat
Date Fri, 15 Apr 2016 12:21:23 GMT

While writing a Target based on FileTargetImpl and a custom OutputFormat 
I discovered that Crunch seems to prevent OutputFormats from using 
counters (CrunchOutputs#getTaskContext instanciates 
TaskAttemptContextImpl with its two args ctor which means that reporter 
is a black hole).

Is there any technical reason to a such limitation ? Wouldn't it be 
possible to pass baseContext's reporter as third argument ?



View raw message