You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Gabor Szadovszky (JIRA)" <ji...@apache.org> on 2017/09/12 14:00:05 UTC

[jira] [Updated] (AVRO-2053) Remove Reference To Deprecated Property mapred.output.compression.type

     [ https://issues.apache.org/jira/browse/AVRO-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabor Szadovszky updated AVRO-2053:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 1.9.0
           Status: Resolved  (was: Patch Available)

> Remove Reference To Deprecated Property mapred.output.compression.type
> ----------------------------------------------------------------------
>
>                 Key: AVRO-2053
>                 URL: https://issues.apache.org/jira/browse/AVRO-2053
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.7, 1.8.2
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>             Fix For: 1.9.0
>
>         Attachments: AVRO-2053.1.patch
>
>
> Avro utilizes [deprecated|https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/DeprecatedProperties.html] property _mapred.output.compression.type_.  Update code to use the MRv2 property and don't override default behaviors/settings.  Use the appropriate facilities from {{org.apache.hadoop.mapreduce.lib.output.FileOutputFormat}} and {{org.apache.hadoop.io.SequenceFile}}.
> {code:title=org.apache.avro.mapreduce.AvroSequenceFileOutputFormat}
>   /** Configuration key for storing the type of compression for the target sequence file. */
>   private static final String CONF_COMPRESSION_TYPE = "mapred.output.compression.type";
>   /** The default compression type for the target sequence file. */
>   private static final CompressionType DEFAULT_COMPRESSION_TYPE = CompressionType.RECORD;
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)