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:43:11 UTC
[jira] [Created] (SQOOP-1432) Make Sqoop compiles with avro-1.7.7
fang fang chen created SQOOP-1432:
-------------------------------------
Summary: 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
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)