You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by seven garfee <ga...@gmail.com> on 2011/11/17 15:36:37 UTC

how to enable debug log while run a job?

hi,all
   when I start a Job,lots of messages are printed on screen,as follows:

   Job started: Thu Nov 17 22:15:57 CST 2011
11/11/17 22:15:58 WARN snappy.LoadSnappy: Snappy native library is available
11/11/17 22:15:58 INFO util.NativeCodeLoader: Loaded the native-hadoop
library
11/11/17 22:15:58 INFO snappy.LoadSnappy: Snappy native library loaded
11/11/17 22:15:58 INFO mapred.FileInputFormat: Total input paths to process
: 80
11/11/17 22:15:58 INFO mapred.FileInputFormat: Total input paths to process
: 80
11/11/17 22:16:03 INFO mapred.JobClient: Running job: job_201111172205_0003

but they are all INFO or WARN level log,how to enable DEBUG log printed?

Re: how to enable debug log while run a job?

Posted by Wei Wu <wu...@gmail.com>.
If you only need the client to print DEBUG log, please

export HADOOP_ROOT_LOGGER=DEBUG,console

On Thu, Nov 17, 2011 at 10:36 PM, seven garfee <ga...@gmail.com>wrote:

> hi,all
>    when I start a Job,lots of messages are printed on screen,as follows:
>
>    Job started: Thu Nov 17 22:15:57 CST 2011
> 11/11/17 22:15:58 WARN snappy.LoadSnappy: Snappy native library is
> available
> 11/11/17 22:15:58 INFO util.NativeCodeLoader: Loaded the native-hadoop
> library
> 11/11/17 22:15:58 INFO snappy.LoadSnappy: Snappy native library loaded
> 11/11/17 22:15:58 INFO mapred.FileInputFormat: Total input paths to
> process : 80
> 11/11/17 22:15:58 INFO mapred.FileInputFormat: Total input paths to
> process : 80
> 11/11/17 22:16:03 INFO mapred.JobClient: Running job: job_201111172205_0003
>
> but they are all INFO or WARN level log,how to enable DEBUG log printed?
>
>
>