hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <>
Subject [jira] [Commented] (HIVE-9496) Sl4j warning in hive command
Date Mon, 02 Feb 2015 01:21:34 GMT


Alexander Pivovarov commented on HIVE-9496:

slf4j-log4j12-1.7.5.jar is required for jdbc clients. This is why it's included to hive-jdbc-standalone.jar

currently hive/lib contains both hive-jdbc.jar and hive-jdbc-standalone.jar
hive]$ ls packaging/target/apache-hive-1.2.0-SNAPSHOT-bin/apache-hive-1.2.0-SNAPSHOT-bin/lib/
| grep jdbc
Probably hive-jdbc-standalone.jar should not be placed to hive/lib

Question is, where to put hive-jdbc-1.2.0-SNAPSHOT-standalone.jar?

maybe just to the root of hive?
$ ls apache-hive-1.2.0-SNAPSHOT-bin/
bin  conf  derby.log  examples  hcatalog  lib  LICENSE  NOTICE  README.txt  RELEASE_NOTES.txt

> Sl4j 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
>            Priority: Minor
> 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