avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-1374) COMPILATION ERROR with Hadoop 2.1.0-beta due to the removal of some deprecated org.apache.hadoop.mapred.TaskLog#captureOutAndError methods
Date Wed, 11 Sep 2013 20:30:52 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting resolved AVRO-1374.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.7.5)
                       (was: 1.7.4)
                       (was: 1.8.0)
         Assignee: Julian Zhou

I committed this.  Thanks Julian!

(I note that the compilation error was in code that probably no one uses, so this fix is not
critical, but does make it easier for developers compiling Avro against Hadoop 2.1.)
                
> COMPILATION ERROR with Hadoop 2.1.0-beta due to the removal of some deprecated org.apache.hadoop.mapred.TaskLog#captureOutAndError
methods 
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-1374
>                 URL: https://issues.apache.org/jira/browse/AVRO-1374
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.4, 1.7.5
>            Reporter: Julian Zhou
>            Assignee: Julian Zhou
>             Fix For: 1.7.6
>
>         Attachments: 1374-trunk-v0.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message