hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9496) Slf4j warning in hive command
Date Wed, 04 Feb 2015 19:00:35 GMT

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

Thejas M Nair commented on HIVE-9496:
-------------------------------------

+1 to 2.patch

[~apivovarov] You have mentioned many valid points and ideas/recommendations! Thanks, such
suggestions really help improve hive!

 * I agree that it makes sense to publish the jdbc-standalone jar as something that can be
downloaded without having to download the entire tar.gz. Most end users (who are not hadoop
admins) would just need that, not the entire tar.gz. We should probably have discussion about
that in the hive-dev mailing list, just to make sure everyone thinks the same. Would you like
to start one ?
 * As we have been putting the standalone jar in the lib dir, people might be expecting the
jar there, even after they upgrade their version of hive. So changing the jar location is
a backward incompatibility issue in that regard (though not a major issue). Lets avoid that
change unless there is a very strong reason to do it. I agree with you that we should have
put it in a different dir in the first place.

Thanks again for the patch!


> Slf4j warning in hive command
> -----------------------------
>
>                 Key: HIVE-9496
>                 URL: https://issues.apache.org/jira/browse/HIVE-9496
>             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, HIVE-9496.2.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/hive-log4j.properties
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-1084/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-1084/hive/lib/hive-jdbc-0.14.0.2.2.0.0-1084-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message