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

2017-09-12 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on AVRO-2053:
---

Commit ce3f821a79d2a653a08da2ac26a14df9deccb7ec in avro's branch 
refs/heads/master from [~belugabehr]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=ce3f821 ]

AVRO-2053: Remove Reference To Deprecated Property 
mapred.output.compression.type


> 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
> 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)


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

2017-07-26 Thread Gabor Szadovszky (JIRA)

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

Gabor Szadovszky commented on AVRO-2053:


The property {{mapred.output.compression.type}} had been deprecated in hadoop 
{{2.7.3}}. Based on the actual {{pom.xml}} we still supports haddop1 which uses 
this property. So the question is when do we want to officially drop hadoop1 
support.
Maybe, we should only add this change to the next major release ({{1.9.0}}) 
after the hadoop1 dependency is removed.

> 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
> 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)