Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6401

Multiple slf4j bindings cause warnings when starting DFS components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.21.0
    • None
    • None
    • None
    • Mac OS X 10.6, Java 6

    Description

      I'm getting warnings like this when starting jobs with bin/start-dfs.sh in Hadoop Core 0.21.0:

      localhost: SLF4J: Class path contains multiple SLF4J bindings.
      localhost: SLF4J: Found binding in [jar:file:/Users/srowen/Desktop/hadoop-core-0.21.0/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      localhost: SLF4J: Found binding in [jar:file:/Users/srowen/Desktop/hadoop-core-0.21.0/lib/slf4j-simple-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      localhost: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      Looks like one of the two jars should simply be removed. I removed the older log4j binding.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              srowen Sean R. Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: