You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "fang fang chen (JIRA)" <ji...@apache.org> on 2014/08/13 05:55:12 UTC
[jira] [Updated] (SQOOP-1432) Make Sqoop compiles with avro-1.7.7
[ https://issues.apache.org/jira/browse/SQOOP-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fang fang chen updated SQOOP-1432:
----------------------------------
Attachment: SQOOP-1432.patch
> Make Sqoop compiles with avro-1.7.7
> -----------------------------------
>
> Key: SQOOP-1432
> URL: https://issues.apache.org/jira/browse/SQOOP-1432
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.4
> Reporter: fang fang chen
> Attachments: SQOOP-1432.patch
>
>
> In Avro-1.7.7, DEFAULT_DEFLATE_LEVEL has not been in AvroOutputFormat(avro-1.7.5) any more, while is defined in class CodecFactory(avro-1.7.7). And the value also changed from int "1"(avro-1.7.5) to int "-1"(avro-1.7.7).
> The change set should include:
> src/java/org/apache/sqoop/mapreduce/AvroOutputFormat.java
> -import static org.apache.avro.mapred.AvroOutputFormat.DEFAULT_DEFLATE_LEVEL;
> +import static org.apache.avro.file.CodecFactory.DEFAULT_DEFLATE_LEVEL;
--
This message was sent by Atlassian JIRA
(v6.2#6252)