Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1374

COMPILATION ERROR with Hadoop 2.1.0-beta due to the removal of some deprecated org.apache.hadoop.mapred.TaskLog#captureOutAndError methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.4, 1.7.5
    • Fix Version/s: 1.7.6
    • Component/s: java
    • Labels:
      None

      Description

      When compiling Avro with Hadoop 2.1.0-beta, met the following issue:

      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /var/lib/jenkins/jobs/IBM-Avro-1.7.4-review/workspace/lang/java/mapred/src/main/java/org/apache/avro/mapred/tether/TetheredProcess.java:[157,21] captureOutAndError(java.util.List<java.lang.String>,java.util.List<java.lang.String>,java.io.File,java.io.File,long,boolean) in org.apache.hadoop.mapred.TaskLog cannot be applied to (java.util.List<java.lang.String>,java.io.File,java.io.File,long)

      This is due to the removal of some deprecated org.apache.hadoop.mapred.TaskLog#captureOutAndError methods in Hadoop 2.1.0-beta:

      http://svn.apache.org/viewvc/hadoop/common/tags/release-2.0.4-alpha/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskLog.java?revision=1517377&view=markup

      http://svn.apache.org/viewvc/hadoop/common/tags/release-2.1.0-beta/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskLog.java?revision=1517377&view=markup

        Attachments

        1. 1374-trunk-v0.patch
          0.8 kB
          Julian Zhou

          Activity

            People

            • Assignee:
              julian.zhou Julian Zhou
              Reporter:
              julian.zhou Julian Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: