You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "JP Moresmau (JIRA)" <ji...@apache.org> on 2018/12/20 10:21:00 UTC

[jira] [Commented] (HIVE-18874) JDBC: HiveConnection shades log4j interfaces

    [ https://issues.apache.org/jira/browse/HIVE-18874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725741#comment-16725741 ] 

JP Moresmau commented on HIVE-18874:
------------------------------------

Any news or workaround on this? I'm also running into it (trying to use the Hive JDBC jar in an environment that already has SLF4J loaded).

> JDBC: HiveConnection shades log4j interfaces
> --------------------------------------------
>
>                 Key: HIVE-18874
>                 URL: https://issues.apache.org/jira/browse/HIVE-18874
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopal V
>            Priority: Major
>
> This prevents Hive JDBC from being instantiated into a regular SLF4J logger env.
> {code}
> java.lang.IncompatibleClassChangeError: Class org.apache.logging.slf4j.Log4jLoggerFactory does not implement the requested interface org.apache.hive.org.slf4j.ILoggerFactory
>         at org.apache.hive.org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:285)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)