Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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.
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB