hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juwei Shi <shiju...@gmail.com>
Subject error of loading logging class
Date Wed, 20 Jul 2011 06:16:07 GMT
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:

Exception in thread "main" java.lang.NoSuchMethodError:
org/apache/commons/loggi
ng/LogFactory.getClassLoader(Ljava/lang/Class;)Ljava/lang/ClassLoader;
        at
org.apache.commons.logging.impl.LogFactoryImpl.getClassLoader(LogFact
oryImpl.java:447)
        at
org.apache.commons.logging.impl.LogFactoryImpl.initDiagnostics(LogFac
toryImpl.java:476)
        at
org.apache.commons.logging.impl.LogFactoryImpl.<init>(LogFactoryImpl.
java:95)
        at java.lang.J9VMInternals.newInstanceImpl(Native Method)
        at java.lang.Class.newInstance(Class.java:1345)
        at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:531)
        at
java.security.AccessController.doPrivileged(AccessController.java:202
)
        at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:517)
        at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:316)



Thanks in advanced!
-- 
- Juwei

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