Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      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.

        Issue Links

          Activity

          Hide
          Christopher Tubbs added a comment -

          You will need to update your classpath to only include one. This has already been updated in 1.6.1 and later's classpath template at conf/templates/accumulo-site.xml in ACCUMULO-2808. For the other example config files, we should do ACCUMULO-2646.

          Show
          Christopher Tubbs added a comment - You will need to update your classpath to only include one. This has already been updated in 1.6.1 and later's classpath template at conf/templates/accumulo-site.xml in ACCUMULO-2808 . For the other example config files, we should do ACCUMULO-2646 .
          Hide
          Josh Elser added a comment -

          Example configuration files need to be updated. They can be updated by hand for the classpath breakage, or ACCUMULO-2646 can be implemented.

          Show
          Josh Elser added a comment - Example configuration files need to be updated. They can be updated by hand for the classpath breakage, or ACCUMULO-2646 can be implemented.
          Hide
          ASF subversion and git services added a comment -

          Commit d9ee274dcf9b6ce18e2cf7d6fa8304cf516df154 in accumulo's branch refs/heads/1.6.1-SNAPSHOT from Josh Elser
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d9ee274 ]

          ACCUMULO-2926 Fix the multiple slf4j bindings that ACCUMULO-2808 introduced

          Show
          ASF subversion and git services added a comment - Commit d9ee274dcf9b6ce18e2cf7d6fa8304cf516df154 in accumulo's branch refs/heads/1.6.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d9ee274 ] ACCUMULO-2926 Fix the multiple slf4j bindings that ACCUMULO-2808 introduced
          Hide
          ASF subversion and git services added a comment -

          Commit d9ee274dcf9b6ce18e2cf7d6fa8304cf516df154 in accumulo's branch refs/heads/master from Josh Elser
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d9ee274 ]

          ACCUMULO-2926 Fix the multiple slf4j bindings that ACCUMULO-2808 introduced

          Show
          ASF subversion and git services added a comment - Commit d9ee274dcf9b6ce18e2cf7d6fa8304cf516df154 in accumulo's branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d9ee274 ] ACCUMULO-2926 Fix the multiple slf4j bindings that ACCUMULO-2808 introduced
          Hide
          Josh Elser added a comment -

          Fix the example configurations.

          Show
          Josh Elser added a comment - Fix the example configurations.

            People

            • Assignee:
              Josh Elser
              Reporter:
              Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development