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

Switch to Plain View
Pig, mail # user - Logging error messages in Pig


+
Raj Hadoop 2013-05-31, 13:47
+
Prashant Kommireddi 2013-05-31, 17:54
+
Raj Hadoop 2013-06-04, 15:34
+
Shahab Yunus 2013-06-04, 16:09
Copy link to this message
-
Re: Logging error messages in Pig
Raj Hadoop 2013-06-04, 23:12
After I started a new session -   its working. Thanks.
________________________________
 From: Shahab Yunus <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; Raj Hadoop <[EMAIL PROTECTED]>
Sent: Tuesday, June 4, 2013 12:09 PM
Subject: Re: Logging error messages in Pig
 

Was there an error in your pig script? Aren't only error messages being
logged in that log file?

Regards,
Shahab
On Tue, Jun 4, 2013 at 11:34 AM, Raj Hadoop <[EMAIL PROTECTED]> wrote:

>
> I am running pig in local mode.
> I modified the pig.properties file as well to include as
> pig.logfile=/u11/hmr/h22/pig/log
>
> While starting pig in local mode - I even see the following message
> org.apache.pig.Main - Logging error messages to:
> /u11/hmr/h22/pig/log/pig_1370359836594.log
>
> But after quitting from pig once I execute some commands succesfully - I
> am not able to see the log.
>
> Where is this log being written to?
>
>
> ________________________________
> From: Prashant Kommireddi <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Sent: Friday, May 31, 2013 1:54 PM
> Subject: Re: Logging error messages in Pig
>
>
> Hi Raj,
>
> You can use "-l" option while starting up pig, or set "pig.logfile" either
> in your script or pig.properties
>
>
> pig -l foo.log myscript.pig
>
> set pig.logfile foo.log  -- within your script
>
> pig.logfile=foo.log  # within pig.properties
>
>
>
>
> On Fri, May 31, 2013 at 6:47 AM, Raj Hadoop <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > How do I modify the error messages file location in Pig.
> >
> > Is there any property in "pig.properties" or "log4j.properties".
> >
> > Thanks,
> > Raj