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 >> Pig jobs - get stdout and stderr


Copy link to this message
-
Re: Pig jobs - get stdout and stderr
Not sure what you are exactly trying to capture, but one workaround I can
think of is writing your own log4j appender and capturing the log
information.

-Rohini
On Thu, Mar 21, 2013 at 10:13 AM, Cheolsoo Park <[EMAIL PROTECTED]>wrote:

> Hi Jeff,
>
> You're right that those methods in HJob.java throw a
> UnsupportedOperationException
> now. I think they are simply not implemented yet. Probably, we should.
>
> Thanks,
> Cheolsoo
>
>
> On Wed, Mar 20, 2013 at 2:00 PM, Jeff Yuan <[EMAIL PROTECTED]> wrote:
>
> > Is there an interface to get the standard out and standard error
> > streams for a pig execution? I'm using the Java interface and directly
> > calling PigServer.executeBatch() for example and getting back
> > List<ExecJob>. The ExecJob interface has some interface for getSTDOut
> > and getSTDError, but any calls to these result in
> > UnsupportedOperationException.
> >
> > Thanks,
> > Jeff
> >
>
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