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)