[Bug]: Hadoop 2 binary LICENSE is missing entries for Hadoop 2-only bundled jars
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
調査の方向性
LICENSE-binaryを読み、Apache License Version 2.0の項目を、issueに記載されているHadoop 2専用のjar座標と比較してください。不足している座標を「(Hadoop 2)」のラベル付きで追加し、既存の項目を削除せずに、記載されたjarをすべて網羅していることを確認してください。Hadoop 2バイナリのLICENSEが、記載された各jarを網羅したら完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened?
The Hadoop 2 binary convenience distribution, apache-amoro-0.9.0-incubating-bin-hadoop2.tar.gz, bundles jars that are not listed in its LICENSE (generated from LICENSE-binary; the Hadoop 2 and Hadoop 3 tarballs ship the same LICENSE).
Found while reviewing the 0.9.0-incubating RC14 binaries (tag v0.9.0-rc14, commit 18d12b99d5297dbd0bb4eb72517c4855d75210f6). I checked every jar in lib/ against the LICENSE entries, including wildcard entries such as org.apache.hadoop:hadoop-*.
This issue covers the jars that only the Hadoop 2 tarball ships. The jars missing from both tarballs (transaction-api, oro, ipaddress, ant, ant-launcher, ivy, and ant:ant:1.6.5) are covered in #4479.
All of these jars are Apache-2.0, judging by their poms and manifests, so there is no licence-category problem; the LICENSE list is just incomplete.
Jar in lib/ |
Coordinates | ASF? |
|---|---|---|
apacheds-i18n-2.0.0-M15.jar |
org.apache.directory.server:apacheds-i18n |
yes |
apacheds-kerberos-codec-2.0.0-M15.jar |
org.apache.directory.server:apacheds-kerberos-codec |
yes |
api-asn1-api-1.0.0-M20.jar |
org.apache.directory.api:api-asn1-api |
yes |
api-util-1.0.0-M20.jar |
org.apache.directory.api:api-util |
yes |
htrace-core4-4.1.0-incubating.jar |
org.apache.htrace:htrace-core4 |
yes |
geronimo-jcache_1.0_spec-1.0-alpha-1.jar |
org.apache.geronimo.specs:geronimo-jcache_1.0_spec |
yes |
jasper-compiler-5.5.23.jar |
tomcat:jasper-compiler |
yes (Apache Tomcat) |
jasper-runtime-5.5.23.jar |
tomcat:jasper-runtime |
yes (Apache Tomcat) |
jackson-core-asl-1.9.13.jar |
org.codehaus.jackson:jackson-core-asl |
no |
jackson-mapper-asl-1.9.13.jar |
org.codehaus.jackson:jackson-mapper-asl |
no |
jackson-jaxrs-1.9.13.jar |
org.codehaus.jackson:jackson-jaxrs |
no |
jackson-xc-1.9.13.jar |
org.codehaus.jackson:jackson-xc |
no |
json-smart-2.3.jar |
net.minidev:json-smart |
no |
accessors-smart-1.2.jar |
net.minidev:accessors-smart |
no |
ehcache-3.3.1.jar |
org.ehcache:ehcache |
no |
unused-1.0.0.jar |
org.spark-project.spark:unused |
no |
Apart from these, the Hadoop 2 tarball checks out:
NOTICEcarries the third-party notices from the bundled jars.- The Hadoop 2-specific CDDL components (
jaxb-api2.2.2,jsp-api2.1,stax-api1.0-2) and the non-Apache jars (mssql-jdbc,py4j,pickle) are covered. - Every
lib/…jarpath referenced inLICENSEexists, except entries explicitly labelled "(Hadoop 3)".
Suggested fix
Add the coordinates above to the "Apache License Version 2.0" section of LICENSE-binary, labelled "(Hadoop 2)" as the file already does for other distribution-specific entries. Wildcards would cover several at once, for example org.apache.directory.server:apacheds-*, org.apache.directory.api:api-*, org.codehaus.jackson:jackson-*, net.minidev:*-smart and tomcat:jasper-*.
As suggested in #4479, a release-tooling check that fails when a jar in lib/ has no matching LICENSE entry would catch this for both Hadoop profiles.
Affects Versions
0.9.0-incubating (RC14)
How to reproduce
tar xzf apache-amoro-0.9.0-incubating-bin-hadoop2.tar.gz && cd amoro-0.9.0-incubating
ls lib | grep -E '^(apacheds|api-asn1|api-util|htrace|geronimo-jcache|jasper|jackson-(core|mapper)-asl|jackson-jaxrs|jackson-xc|json-smart|accessors-smart|ehcache|unused)-'
grep -n -iE 'apacheds|directory\.api|htrace|geronimo|jasper|codehaus\.jackson|minidev|ehcache|spark-project' LICENSE # no output
- 主要言語
- Java
- スター
- 1.2k
- フォーク
- 398
- 平均マージ
- 3日 7時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/amoro のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
[Doc]: Clarify that catalog-level table properties should be added via the "Table properties" interface, and the "table." prefix is only required when using the raw "Properties" interface対応中かも @Akeron-Zhu が 8 日前に担当しました。 オープンtype:improvement
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 2 日以内に返信
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
[Bug]: Configurations.equals is asymmetric for different key sets対応中かも @sivakumar-mahalingam が 1 日前に担当しました。 オープンtype:bug
apache/amoro#4482 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
jules
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-learning-exchange/myplanet#18568 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
hibernate/hibernate-reactive#4485 ·
メンテナーはふだん 1 日以内に返信
-
type: dependency-upgrade
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
spring-projects/spring-graphql#1556 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
higress-group/higress-console#800 ·
メンテナーはふだん 1 日以内に返信