Bigtop
  1. Bigtop
  2. BIGTOP-583

"Class path contains multiple SLF4J bindings" warnings

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: general
    • Labels:
      None

      Description

      The following components depend on hadoop-common (package hadoop) and thus get slf4j JARs twice on their classpath (once as a second-level dependency of hadoop-common and second time from their own lib):

      1. hadoop-hdfs
      2. hadoop-mapreduce
      3. hadoop-yarn
      4. hbase
      5. hive
      6. mahout
      7. flume

      This leads to the harmless, but very annoying "Class path contains multiple SLF4J bindings" warning message to pop up.

      Now, this is not a new problem for us – unfortunately we tend to have multiple instances of the same JARs in the Bigtop's classpath quite a bit. As such one way of "fixing" it would be just making slf4j shut up. The other alternative is to remove slf4j jar files from all the packages mentioned above. This is pretty good, expect for an off chance that somehow the component could be used in a standalone mode
      where it can't really find hadoop. Not sure how important such a use case would be.

      Thoughts?

      1. BIGTOP-583.patch.txt
        6 kB
        Roman Shaposhnik

        Activity

        Roman Shaposhnik created issue -
        Roman Shaposhnik made changes -
        Field Original Value New Value
        Attachment BIGTOP-583.patch.txt [ 12528813 ]
        Roman Shaposhnik made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Roman Shaposhnik made changes -
        Attachment BIGTOP-583.patch.txt [ 12528813 ]
        Roman Shaposhnik made changes -
        Attachment BIGTOP-583.patch.txt [ 12528814 ]
        Hide
        Bruno Mahé added a comment -

        +1

        Show
        Bruno Mahé added a comment - +1
        Roman Shaposhnik made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Eli Collins added a comment -

        There's some relevant discussion on https://issues.cloudera.org/browse/DISTRO-409

        Show
        Eli Collins added a comment - There's some relevant discussion on https://issues.cloudera.org/browse/DISTRO-409
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Anonymous made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        9d 6h 10m 1 Roman Shaposhnik 23/May/12 23:02
        Patch Available Patch Available Resolved Resolved
        27d 17h 22m 1 Roman Shaposhnik 20/Jun/12 16:24
        Resolved Resolved Closed Closed
        366d 7h 30m 1 Roman Shaposhnik 21/Jun/13 23:55
        Closed Closed Reopened Reopened
        73d 8h 2m 1 03/Sep/13 07:57

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development