Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2926

Multiple slf4j bindings warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.1, 1.7.0
    • None
    • None
    • apache hadoop 2.4.0

    Description

      ACCUMULO-2808 introduced slf4j-log4j12 into Accumulo's classpath which clashes with the hadoop provided slf4j-log4j12 which prints out the lovely below message way too frequently.

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/usr/local/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/usr/local/lib/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.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]
      

      I'm seeing this in master, but I imagine it also exists in 1.6.1.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: