Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16096

HADOOP-15281/distcp -Xdirect needs to use commons-logging on 3.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.1.3
    • 3.1.3
    • None
    • None

    Description

      HADOOP-15281 breaks the branch-3.1 build when building with java 1.8.

      "RetriableFileCopyCommand.java"
          LOG.info("Copying {} to {}", source.getPath(), target);
      

      Multiple lines have this error:

      "Build Failure"

      [ERROR] hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/RetriableFileCopyCommand.java:[121,8] no suitable method found for info(java.lang.String,org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path)
      [ERROR] method org.apache.commons.logging.Log.info(java.lang.Object) is not applicable
      [ERROR] (actual and formal argument lists differ in length)
      [ERROR] method org.apache.commons.logging.Log.info(java.lang.Object,java.lang.Throwable) is not applicable
      [ERROR] (actual and formal argument lists differ in length)

      Attachments

        1. HADOOP-15281-branch-3.1-001.patch
          21 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              epayne Eric Payne
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: