Qiheng He created HIVE-28747:
--------------------------------

             Summary: HiveServer2 4.0.1 Docker Image reports warning that Class 
path contains multiple SLF4J bindings
                 Key: HIVE-28747
                 URL: https://issues.apache.org/jira/browse/HIVE-28747
             Project: Hive
          Issue Type: Bug
            Reporter: Qiheng He


- HiveServer2 4.0.1 Docker Image reports warning that Class path contains 
multiple SLF4J bindings.
- Simply run the following command on the device where Docker CE is installed 
to reproduce the issue.

{code:bash}
docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 
--name hive4 apache/hive:4.0.1
docker logs --follow hive4
{code}

{code:bash}
Initialized schema successfully..
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/opt/hive/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/tez/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-reload4j-1.7.36.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.apache.logging.slf4j.Log4jLoggerFactory]
2025-02-08 05:07:51: Starting HiveServer2
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/opt/hive/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/tez/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-reload4j-1.7.36.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.apache.logging.slf4j.Log4jLoggerFactory]
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to