Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1432

Make Sqoop compiles with avro-1.7.7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.4
    • None
    • None
    • None

    Description

      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;

      Attachments

        1. SQOOP-1432.patch
          1 kB
          fang fang chen

        Activity

          People

            Unassigned Unassigned
            fang fang chen fang fang chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: