Repository navigation
Open
Description
What happened?
Several jars bundled in the binary convenience distributions are not listed in the binary LICENSE (LICENSE-binary in the source tree, shipped as LICENSE in the tarballs).
Found while reviewing the 0.9.0-incubating RC14 binaries (tag v0.9.0-rc14, commit 18d12b99d5297dbd0bb4eb72517c4855d75210f6). I checked every jar in lib/ of apache-amoro-0.9.0-incubating-bin-hadoop3.tar.gz against the LICENSE entries, including the wildcard entries such as org.apache.flink:flink-*. All of these jars are also in apache-amoro-0.9.0-incubating-bin-hadoop2.tar.gz, which ships the same LICENSE.
Jar in lib/ |
Coordinates | Licence | Notes |
|---|---|---|---|
transaction-api-1.1.jar |
javax.transaction:transaction-api:1.1 |
CDDL-1.0 (see META-INF/LICENSE.txt in the jar) |
Category B, so it must be listed. LICENSE lists javax.transaction:jta / jta-1.1.jar under CDDL-1.0, but not this artifact. README-LICENSES should probably also give its source location, as it does for the other CDDL components. |
oro-2.0.8.jar |
oro:oro:2.0.8 (Jakarta ORO) |
Apache Software License 1.1 (see META-INF/LICENSE in the jar) |
ASF code, but under the 1.1 licence, which has different terms (attribution and name-use clauses) from 2.0, so it needs its own entry and licence text or pointer. |
ipaddress-5.5.1.jar |
com.github.seancfoley:ipaddress:5.5.1 |
Apache-2.0 | Not ASF code; belongs in the Apache License 2.0 list. |
ant-1.9.1.jar, ant-launcher-1.9.1.jar |
org.apache.ant:ant, org.apache.ant:ant-launcher |
Apache-2.0 | Their NOTICE content is already in NOTICE; only the LICENSE entry is missing. |
ivy-2.5.1.jar |
org.apache.ivy:ivy:2.5.1 |
Apache-2.0 | Its NOTICE content is already in NOTICE; only the LICENSE entry is missing. |
ant-1.6.5.jar (hadoop2 tarball only) |
ant:ant:1.6.5 |
Apache-2.0 | As above. |
Apart from these, the binary LICENSE and NOTICE look thorough.
Suggested fix
- Add
org.apache.ant:ant*,org.apache.ivy:ivy,com.github.seancfoley:ipaddressandant:ant(Hadoop 2) to the "Apache License Version 2.0" section ofLICENSE-binary. - Add
javax.transaction:transaction-apito the "Common Development and Distribution License (CDDL) 1.0" section, pointing toMETA-INF/LICENSE.txtinsidelib/transaction-api-1.1.jarandlicenses/LICENSE.CDDL-1.0, and add its project/source location to README-LICENSES. - Add an "Apache Software License 1.1" section for
oro:oro, pointing toMETA-INF/LICENSEinsidelib/oro-2.0.8.jar(or adding the text underlicenses-binary/). - Consider making the release tooling (
tools/releasing/check_release_license_repairs.py/check_javadoc_fat_licenses.py, or a new check) fail when a jar inlib/has no matchingLICENSEentry, so new transitive dependencies are caught.
Other things found in the same review (minor)
- The Stax2 section says
lib/stax2-api-4.2.1.jarretains its licence. That jar is only in the Hadoop 2 tarball; in the Hadoop 3 tarball theorg/codehaus/stax2classes are repackaged insidelib/hadoop-client-runtime-3.4.3.jar. The entry should say "(Hadoop 2)" and mention the Hadoop 3 location. licenses/LICENSE.jzlib,LICENSE.webbit,LICENSE.jsr166y,LICENSE.base64,LICENSE.icu4jandLICENSE.checker-framework-qualifiersship in the binary, but neitherLICENSEnorREADME-LICENSESmentions them, so it isn't clear which component each one covers.- The binary
LICENSElists the Bitnami chart templates (./charts/amoro/templates/common/*.tpl), but the binary tarballs don't containcharts/. That entry belongs in the sourceLICENSEinstead (see [Bug]: Bitnami Helm chart helpers bundled in charts/ are not attributed in LICENSE #4476).
Affects Versions
0.9.0-incubating (RC14)
How to reproduce
tar xzf apache-amoro-0.9.0-incubating-bin-hadoop3.tar.gz && cd amoro-0.9.0-incubating
ls lib | grep -E '^(transaction-api|oro|ipaddress|ant|ant-launcher|ivy)-'
grep -n -E 'transaction-api|oro:oro|ipaddress|org\.apache\.ant|org\.apache\.ivy' LICENSE # no output
unzip -p lib/transaction-api-1.1.jar META-INF/LICENSE.txt | head -1
unzip -p lib/oro-2.0.8.jar META-INF/LICENSE | head -3Metadata
Metadata
Assignees
Labels
No labels
Activity
hutiefang76 commentedon Nov 20, 2026
take