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

Switch to Threaded View
Hive, mail # user - Logging level


Copy link to this message
-
RE: Logging level
Steven Wong 2010-09-27, 17:30
Yes, I need a way to change the logging level of map/reduce tasks for the jobs of my Hive query, without affecting the logging level of other jobs or Hadoop daemons. How do I set hadoop.root.logger to do that?
-----Original Message-----
From: Shrijeet Paliwal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 26, 2010 1:51 AM
To: [EMAIL PROTECTED]
Cc: <[EMAIL PROTECTED]>
Subject: Re: Logging level

You need to set hadoop looging level to debug if you are looking at
map task logs. I guess hadoop.root.logger is your friend.

On Sun, Sep 26, 2010 at 12:06 AM, Steven Wong <[EMAIL PROTECTED]> wrote:
>
> Tried your suggestion, but it still logs at INFO level in /mnt/var/log/hadoop/userlogs/attempt_201008140123_5752_m_000018_0/syslog. Am I looking in the wrong file?
>
>
>
>
>
> From: Ning Zhang [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 25, 2010 11:45 PM
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: Re: Logging level
>
>
>
> hive -hiveconf hive.root.logger=DEBUG,DRFA
>
>
>
> On Sep 25, 2010, at 11:27 PM, Steven Wong wrote:
>
> How can I control the logging level of Hive code that runs in the mappers/reducers? For example, how to set it to DEBUG?
>
>
>
> Thanks.
>
> Steven
>
>
>
>