hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhu phatak <phatak....@gmail.com>
Subject Re: error of loading logging class
Date Wed, 27 Jul 2011 10:30:02 GMT
Its the problem of multiple versions of same jar.

On Thu, Jul 21, 2011 at 5:15 PM, Steve Loughran <stevel@apache.org> wrote:

> On 20/07/11 07:16, Juwei Shi wrote:
>
>> Hi,
>>
>> We faced a problem of loading logging class when start the name node.  It
>> seems that hadoop can not find commons-logging-*.jar
>>
>> We have tried other commons-logging-1.0.4.jar and
>> commons-logging-api-1.0.4.jar. It does not work!
>>
>> The following are error logs from starting console:
>>
>>
> I'd drop the -api file as it isn't needed, and as you say, avoid duplicate
> versions. Make sure that log4j is at the same point in the class hierarchy
> too (e.g in hadoop/lib)
>
> to debug commons logging, tell it to log to stderr. It's useful in
> emergencies
>
> -Dorg.apache.commons.logging.**diagnostics.dest=STDERR
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message