[
https://issues.apache.org/jira/browse/HADOOP-13386?focusedWorklogId=792232&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-792232
]
ASF GitHub Bot logged work on HADOOP-13386:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jul/22 16:33
Start Date: 18/Jul/22 16:33
Worklog Time Spent: 10m
Work Description: xkrogen commented on PR #4580:
URL: https://github.com/apache/hadoop/pull/4580#issuecomment-1187715602
I'm -1 on this. Avro versions follow the following convention (refer to
[this comment](https://github.com/apache/avro/pull/1333#issuecomment-930355417)
and [this dev list
thread](https://lists.apache.org/thread/6ppm20v5602w9nqz0nk5qz7mxnnt2tsw)):
```
<data compatibility> . <major library version> . <minor library version>
```
So while going from 1.7.7 to 1.9.2 may look like a minor version upgrade at
first glance, it's actually an upgrade of 2 major versions (7 -> 9). This is
way too big of a change to include into a patch release of Hadoop.
This isn't just a theoretical problem; Avro major version upgrades really do
bring in breaking changes. We (LinkedIn) maintain [an entire library devoted to
smoothing over such breaking
changes](https://github.com/linkedin/avro-util/tree/master/helper). Speaking
from personal experience, without such a compatibility layer, a major version
upgrade of Avro will cause many downstreams to break.
Issue Time Tracking
-------------------
Worklog Id: (was: 792232)
Time Spent: 5h 40m (was: 5.5h)
> Upgrade Avro to 1.9.2
> ---------------------
>
> Key: HADOOP-13386
> URL: https://issues.apache.org/jira/browse/HADOOP-13386
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build
> Reporter: Ben McCann
> Assignee: PJ Fanning
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 5h 40m
> Remaining Estimate: 0h
>
> Avro 1.8.x makes generated classes serializable which makes them much easier
> to use with Spark. It would be great to upgrade Avro to 1.8.x
> Fix CVE-2021-43045
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]