Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9496

Slf4j warning in hive command

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.2.0
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      HDP 2.2.0 on CentOS.
      With Horton Sand Box and my own cluster.

      Description

      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]

        Attachments

        1. HIVE-9496.2.patch
          0.6 kB
          Alexander Pivovarov
        2. HIVE-9496.1.patch
          2 kB
          Alexander Pivovarov

          Issue Links

            Activity

              People

              • Assignee:
                apivovarov Alexander Pivovarov
                Reporter:
                pkernevez Philippe Kernevez
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: