|
|
-
using log4j to suppress messages
Jonathan Bishop 2012-10-29, 23:59
Hi,
I would like to suppress messages on the console like...
12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs...
So I added the following line to log4j.properties in my hadoop/conf dir...
.mapreduce.LoadIncrementalHFiles=WARN
and rebooted hbase and hadoop. But I still see the messages.
I also tried...
log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN
but no luck.
What am I doing wrong?
Thanks,
Jon
-
Re: using log4j to suppress messages
Harsh J 2012-10-30, 04:52
Since this is from HBase (better to ask on [EMAIL PROTECTED] btw) the right line would be:
log4j.logger.org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles=WARN
On Tue, Oct 30, 2012 at 5:29 AM, Jonathan Bishop <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to suppress messages on the console like... > > 12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load > hfile=hdfs... > > So I added the following line to log4j.properties in my hadoop/conf dir... > > .mapreduce.LoadIncrementalHFiles=WARN > > and rebooted hbase and hadoop. But I still see the messages. > > I also tried... > > log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN > > but no luck. > > What am I doing wrong? > > Thanks, > > Jon
-- Harsh J
-
Re: using log4j to suppress messages
Arpit Gupta 2012-10-30, 04:54
This looks like it should go in the log4j properties for hbase and not hadoop.
-- Arpit
On Oct 29, 2012, at 5:06 PM, Jonathan Bishop <[EMAIL PROTECTED]> wrote:
> Hi, > > I would like to suppress messages on the console like... > > 12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs... > > So I added the following line to log4j.properties in my hadoop/conf dir... > > .mapreduce.LoadIncrementalHFiles=WARN > > and rebooted hbase and hadoop. But I still see the messages. > > I also tried... > > log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN > > but no luck. > > What am I doing wrong? > > Thanks, > > Jon
-
Re: using log4j to suppress messages
yuliya Feldman 2012-10-31, 05:33
This is hbase class, not hadoop so your setting should be:
log4j.logger.org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles=WARN
Plus for consistency you probably want to update log4j.properties under hbase/conf Of course if both are sourced it doe snot matter, but anyway.
Thanks.
________________________________ From: Jonathan Bishop <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Monday, October 29, 2012 4:59 PM Subject: using log4j to suppress messages
Hi,
I would like to suppress messages on the console like...
12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs...
So I added the following line to log4j.properties in my hadoop/conf dir... .mapreduce.LoadIncrementalHFiles=WARN
and rebooted hbase and hadoop. But I still see the messages.
I also tried... log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN
but no luck.
What am I doing wrong?
Thanks,
Jon
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext