hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tatsuya Kawano <tatsuy...@snowcocoa.info>
Subject Re: LogConfigurationException: no suitable log implementation
Date Sun, 08 Nov 2009 09:15:20 GMT
Hello,

> could this be from an improperly configured log4j.properties file in my
> hadoop directory, or something to do with my classpath setup?

It looks like a classpath problem.
Make sure you have the following jars in the classpath:

-- lib/commons-logging-1.0.4.jar
-- lib/log4j-1.2.8.jar


Thanks,

-- 
Tatsuya Kawano (Mr.)
Tokyo, Japan


On Sun, Nov 8, 2009 at 4:54 PM, jpancier <jpancier@gmail.com> wrote:
>
> im trying to run the hbase API usage example, and im getting an
> ExceptionInInitializerError
>
> could this be from an improperly configured log4j.properties file in my
> hadoop directory, or something to do with my classpath setup?
>
> Exception in thread "main" java.lang.ExceptionInInitializerError
>        at MyLittleHBaseClient.main(MyLittleHBaseClient.java:21)
> Caused by: org.apache.commons.logging.LogConfigurationException: No suitable
> Log implementation
>        at
> org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:918)
>        at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
>        at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
>        at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
>        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
>        at
> org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:138)
>        ... 1 more
>
> ill probably try and reinstall and configure hadoop and hbase tomorrow, but
> if anybody knows or has had a similar problem it would be great to know
> whats going on
>
> thanks!
>
> --
> View this message in context: http://old.nabble.com/LogConfigurationException%3A-no-suitable-log-implementation-tp26251575p26251575.html
> Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message