Support Questions

Find answers, ask questions, and share your expertise

log4j error - com.cloudera.impala.jdbc42.internal.apache.log4j.Appender

avatar
New Contributor

Soon after start of the application that connects to Impala I get following errors:

log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "com.cloudera.impala.jdbc42.internal.apache.log4j.Appender" variable.
log4j:ERROR The class "com.cloudera.impala.jdbc42.internal.apache.log4j.Appender" was loaded by
log4j:ERROR [sun.misc.Launcher$AppClassLoader@18b4aac2] whereas object of type
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@18b4aac2].
log4j:ERROR Could not instantiate appender named "stdout".

I guess it has something with me using log4j2 - what should I do to make the logging to work and honor log4j2 settings? 

1 REPLY 1

avatar
Super Guru

@Ros ,

 

I imagine that despite the error your connection is working fine, right?

If that's the case, you can safely ignore the error messages.

 

Andre

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.