[
https://issues.apache.org/jira/browse/HADOOP-20070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143836#comment-18143836
]
ASF GitHub Bot commented on HADOOP-20070:
-----------------------------------------
joseluisll commented on PR #8943:
URL: https://github.com/apache/hadoop/pull/8943#issuecomment-6826551067
We have automated exactly the check @pjfanning asks for: enumerate every jar
in the binary tarball and diff it against LICENSE-binary (proposed for adoption
in [HADOOP-20078](https://issues.apache.org/jira/browse/HADOOP-20078),
prototype:
https://github.com/joseluisll/hadoop/blob/feat/LICENSES/dev-support/licenses).
I ran it on the official 3.5.0 tarball and on a distribution build of
current trunk:
| | 3.5.0 | trunk |
|---|---|---|
| distinct third-party coordinates shipped | 215 | 302 |
| listed in LICENSE-binary | 271 | 276 |
| ships but not listed (missing) | 52 | 69 |
| stale entries (listed, no jar ships) | 107 | 43 |
| listed version matches no shipped version | 10 | 22 |
The PR's 30 netty lines are a clean version bump — all 30 module jars exist
at 4.2.20.Final.
Deriving LICENSE-binary from the archive's contents in the release build
makes that verification automatic and keeps the file synchronized with whatever
the dependency graph decides: if `netty-all` is later replaced by selected
modules, the pruned jars stop appearing in the enumeration and their license
lines drop out of the generated file automatically.
Currently, the prototype automation cannot help with the prunning, but gives
a baseline a tools for **detecting drift**.
> upgrade to netty 4.2.20
> -----------------------
>
> Key: HADOOP-20070
> URL: https://issues.apache.org/jira/browse/HADOOP-20070
> Project: Hadoop Common
> Issue Type: Task
> Reporter: PJ Fanning
> Priority: Major
> Labels: pull-request-available
>
> https://netty.io/news/2026/11/02/4-2-20-Final.html includes a large number of
> CVE fixes.
> So far, Hadoop has stuck with Netty 4.1.x is approaching EOL - the middle of
> 2027.
> Upgrading from 4.1 has been straightforward where I've done this before (eg
> Apache Pekko).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]