Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - How to redirect the Pig script summary to a file


Copy link to this message
-
Re: How to redirect the Pig script summary to a file
Prashant Kommireddi 2012-06-13, 22:21
Try

pig -x mapred -l logs -param $xyz=1000 pqr.pig &>a.txt

On Wed, Jun 13, 2012 at 9:05 AM, shan s <[EMAIL PROTECTED]> wrote:

> How do I store the pig console output  to a file.
> pig -x mapred -l logs -param $xyz=1000 pqr.pig >> a.txt does not work for
> me. Are there any tricks to make this work?
> Or is it available somewhere else.
>
> Thanks, Prashant.
>