Hi Johannes,

Your steps were appropriate as the log4j appender follows the inheritance
model and your specification for the child "hadoop.conf.Configuration" to
a different value, should override the parent 'hadoop' logger level. So it
should have worked, unless the file you edited was wrong. Are you sure
that /etc/oozie/conf.dist/oozie-log4j.properties is the correct file for
your setup? Just to make sure, can you tweak one of the 'org.apache.oozie'
logger levels and see if it gets reflected?

Thanks,
--
Mona Chitnis




On 9/26/12 9:02 AM, "Johannes Schwenk" <[email protected]>
wrote:

>Hi all,
>
>since the oozie logs get flooded with messages like
>
>2012-09-26 14:59:37,843 WARN org.apache.hadoop.conf.Configuration:
>fs.default.name is deprecated. Instead, use fs.defaultFS
>
>I want to suppress warnings from org.apache.hadoop.conf.Configuration
>class. So I edited /etc/oozie/conf.dist/oozie-log4j.properties to
>contain the following new lines:
>
># Disable warnings about configuration
>log4j.appender.org.apache.hadoop.conf.Configuration=ERROR, oozie
>log4j.logger.org.apache.hadoop.conf.Configuration=ERROR, oozie
>
>I restarted Oozie but nothing changed, warnings keep appearing.
>
>How can I fix this?
>
>Greetings,
>Johannes Schwenk
>
>-- 
>Softwareentwickler (Reporting)
>________________________________________________________
>
>ADITION technologies AG
>Schwarzwaldstraße 78b
>79117 Freiburg
>
>http://www.adition.com
>
>T +49 / (0)761 / 88147 - 30
>F +49 / (0)761 / 88147 - 77
>SUPPORT +49  / (0)1805 - ADITION
>
>(Festnetzpreis 14 ct/min; Mobilfunkpreise maximal 42 ct/min)
>
>Eingetragen beim Amtsgericht Düsseldorf unter HRB 54076
>Vorstände: Andreas Kleiser, Jörg Klekamp, Tihomir Perkovic, Marcus
>Schlüter
>Aufsichtsratsvorsitzender: Rechtsanwalt Daniel Raimer
>UStIDNr.: DE 218 858 434
>

Reply via email to