hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Log4j changes not working inside static mapper and reducer classes
Date Wed, 25 May 2011 20:07:33 GMT
I'm not sure why you are asking this question on the hbase user
mailing list, it seems like you have a log4j issue.

J-D

On Wed, May 25, 2011 at 1:03 PM, Himanish Kushary <himanish@gmail.com> wrote:
> Could anybody please help me with this.
>
> On Tue, May 24, 2011 at 10:17 AM, Himanish Kushary <himanish@gmail.com>wrote:
>
>> Hi,
>>
>> I have enabled debug for my Map-Reduce package inside the log4j.properties
>> under the $HADOOP_HOME/conf directory (using CDH3).
>>
>> log4j.logger.com.himanish.analytics.mapreduce=DEBUG
>>
>> The logging messages are getting logged for the main enclosing Map-Reduce
>> job class but not for the static Mapper-Reducer classes inside it. I am
>> using the same logger instance from the enclosing class inside the static
>> classes.I tried creating seperate logger for the static mapper-reducer
>> classes to no effect.
>>
>> Could anybody please provide any suggestions to resolve this. Also is
>> modifying the log4j.properties in the conf directory a good approach to
>> enable logging or is there some other better way.
>>
>> --
>> Thanks & Regards
>> Himanish
>>
>
>
>
> --
> Thanks & Regards
> Himanish
>

Mime
View raw message