You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by unionx <un...@foxmail.com> on 2012/06/19 04:47:00 UTC

How do I make sure my map output of pig script in lzo compressed?

I have set up hadoop-lzo and elephant-bird, and I see them well loaded before the job, and the pig scripts can handle lzo files.


The question is, how do I know they have worked? If there is some way to see the map output? I just want to know the map output has been compressed.

Re: How do I make sure my map output of pig script in lzo compressed?

Posted by Prashant Kommireddi <pr...@gmail.com>.
Check the Job Counters for "Map Output bytes" before and after setting
compression.

On Mon, Jun 18, 2012 at 7:47 PM, unionx <un...@foxmail.com> wrote:

> I have set up hadoop-lzo and elephant-bird, and I see them well loaded
> before the job, and the pig scripts can handle lzo files.
>
>
> The question is, how do I know they have worked? If there is some way to
> see the map output? I just want to know the map output has been compressed.