hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-9496) Slf4j warning in hive command
Date Tue, 03 Feb 2015 22:43:37 GMT


Thejas M Nair commented on HIVE-9496:

hive-jdbc-standalone jar should not be including an slf4j binding. This jar is meant to be
used by an external application, and that application should have control over what logging
framework is used (including alternatives to log4j).
I think we need to remove slf4j binding from this jar. 

Regarding, the move to extlib, we can consider that if we have very strong reasons to do so.
Moving the dir would mean that client applications might break on upgrade, since their classpaths
would point to the jar in lib dir.

> Slf4j warning in hive command
> -----------------------------
>                 Key: HIVE-9496
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.14.0
>         Environment: HDP 2.2.0 on CentOS.
> With Horton Sand Box and my own cluster.
>            Reporter: Philippe Kernevez
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>         Attachments: HIVE-9496.1.patch
> Each time 'hive' command is ran, we have an Sl4J warning about multiple jars containing
SL4J classes.
> This bug is similar to Hive-6162, but doesn't seems to be solved.
> Logging initialized using configuration in file:/etc/hive/conf/
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/usr/hdp/!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/hdp/!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

This message was sent by Atlassian JIRA

View raw message