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

When HBase gets executed against Hadoop 2.X "SLF4j:CLASSPATH contains multiple SLF4j binding" warning is displayed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 0.92.0, 0.92.1
    • None
    • scripts
    • None

    Description

      Since HBase tries to find locations of the Hadoop jars from the environment in certain cases it ends up with extra SLF4j jars coming from Hadoop classpath. When that happens "SLF4j:CLASSPATH contains multiple SLF4j binding" warning gets displayed.

      The good news here is that the warning is just that – a warning. The bad news is that it seems this issue will be tricky to fix properly. On one hand we would like Hadoop itself to give us transitive closure of the set of jar files required (computing that in the HBase script is a maintenance nightmare). On the other hand that set of jar files could contain some of the very same jars shipped with HBase.

      This problem existed for quiet some time. SLF4j is just the first component to complain.

      Attachments

        1. error.JPG
          159 kB
          Praveen

        Activity

          People

            Unassigned Unassigned
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: