Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6200 Create a separate jar for hdfs-client
  3. HDFS-8948

Use GenericTestUtils to set log levels in TestPread and TestReplaceDatanodeOnFailure

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • build
    • None
    • Reviewed
    • Patch

    Description

      The two failing unit tests are java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerAdapter cannot be cast to org.apache.commons.logging.impl.Log4JLogger. This is because of the logger change from log4j to slf4j in ShortCircuitShm refactoring code.

      This jira tracks the effort of fixing the test failures. The goal is to make the tests pass and to dump all the log information for debugging.

      Attachments

        1. HDFS-8948.000.patch
          3 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              liuml07 Mingliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: