Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Nov 7, 2022

What changes were proposed in this pull request?

This pr aims to upgrade xz to 1.9 for avro 1.11.1.

Why are the changes needed?

Spark depend on avro 1.11.1 and avro 1.11.1 use xz as an optional dependency, we need to manually check xz version when upgrading avro.

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/pom.xml#L59

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/avro/pom.xml#L238-L242

The release notes as follows:

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass Github Actions

@github-actions github-actions bot added the BUILD label Nov 7, 2022
@srowen
Copy link
Member

srowen commented Nov 8, 2022

Do you happen to know if we should back-port this to 3.3, which uses Avro 1.11.0?

@srowen srowen closed this in e9503c8 Nov 8, 2022
srowen pushed a commit that referenced this pull request Nov 8, 2022
This pr aims to upgrade `xz` to 1.9 for `avro` 1.11.1.

Spark depend on `avro` 1.11.1 and `avro` 1.11.1 use `xz` as an optional dependency, we need to manually check `xz` version when upgrading `avro`.

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/pom.xml#L59

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/avro/pom.xml#L238-L242

The  release notes as follows:

- https://git.tukaani.org/?p=xz-java.git;a=blob;f=NEWS;hb=HEAD

No

Pass Github Actions

Closes #38538 from LuciferYang/SPARK-41031.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Sean Owen <[email protected]>
(cherry picked from commit e9503c8)
Signed-off-by: Sean Owen <[email protected]>
@srowen
Copy link
Member

srowen commented Nov 8, 2022

I checked, we should update 3.3 too, so I merged to master and 3.3

@LuciferYang
Copy link
Contributor Author

Sorry for the late reply. I just started today's work.

Yes, we need backport to 3.3

Thanks @srowen

SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
### What changes were proposed in this pull request?
This pr aims to upgrade `xz` to 1.9 for `avro` 1.11.1.

### Why are the changes needed?
Spark depend on `avro` 1.11.1 and `avro` 1.11.1 use `xz` as an optional dependency, we need to manually check `xz` version when upgrading `avro`.

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/pom.xml#L59

https://github.com/apache/avro/blob/3a9e5a789b5165e0c8c4da799c387fdf84bfb75e/lang/java/avro/pom.xml#L238-L242

The  release notes as follows:

- https://git.tukaani.org/?p=xz-java.git;a=blob;f=NEWS;hb=HEAD

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

Closes apache#38538 from LuciferYang/SPARK-41031.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Sean Owen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants