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. >
