Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-29000

SLF4j logging backend incorrectly picked up from Hadoop when external Hadoop is specified

    XMLWordPrintableJSON

Details

    Description

      When I set  HADOOP_CLASSPATH:

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/stoty/x/hadoop-3.4.1/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/stoty/workspaces/hbase/hbase/hbase-assembly/target/hbase-2.5.11-SNAPSHOT-client/lib/client-facing-thirdparty/log4j-slf4j-impl-2.17.2.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.Reload4jLoggerFactory]
      

      HBase should always pick its own log4j2 backend.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: