Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1399

Silence logging noise from Mahout Jobs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.8
    • 0.9
    • classic
    • None

    Description

      Mahout jobs produce a lot of output on the command line and log messages like these below are distracting:

      attempt_201311181700_0002_m_000000_0: SLF4J: Class path contains multiple SLF4J bindings.
      attempt_201311181700_0002_m_000000_0: SLF4J: Found binding in [jar:file:/home/hadoop/lib/slf4j-log4j12-1.7.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      attempt_201311181700_0002_m_000000_0: SLF4J: Found binding in [jar:file:/mnt/var/lib/hadoop/mapred/taskTracker/hadoop/jobcache/job_201311181700_0002/jars/job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      attempt_201311181700_0002_m_000000_0: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      attempt_201311181700_0002_m_000000_0: SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

      Let's silence log messages like these that do not provide information about the Mahout job itself. If you have more instances of superfluous logging add this to the issue.

      Attachments

        1. mahout-MAHOUT-1399.patch
          3 kB
          Stevo Slavić

        Issue Links

          Activity

            People

              smarthi Suneel Marthi
              frankscholten Frank Scholten
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: