I'm not intimately familiar with pipes, but in the Java APIs, the
easiest thing to do is to capture a reference to the context in an
instance variable in the map() method and then use it in close(). The
instance is guaranteed to still be valid in close(). Hope this helps.

On Sat, Jun 26, 2010 at 9:25 PM, Mohamed Riadh Trad
<mohamed.t...@inria.fr> wrote:
> Dear All;
>
> I had to emit final Key/Values in the Mapper Close Method but I can't get the 
> context.
>
> Any suggestion?
>
> Regard.



-- 
Eric Sammer
twitter: esammer
data: www.cloudera.com

Reply via email to