sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fang fang chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1432) Make Sqoop compiles with avro-1.7.7
Date Wed, 13 Aug 2014 03:43:11 GMT
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)

Mime
View raw message