[Bug]: Hadoop 2 binary LICENSE is missing entries for Hadoop 2-only bundled jars
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 77/100
Línea de trabajo
Lee LICENSE-binary y compara sus entradas de Apache License Version 2.0 con las coordenadas de los JAR exclusivos de Hadoop 2 que se enumeran en el issue. Añade las coordenadas que faltan, con la etiqueta «(Hadoop 2)», y comprueba que cubran los JAR enumerados sin eliminar entradas existentes. Se considera terminado cuando LICENSE del binario de Hadoop 2 contempla cada JAR enumerado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 1.2k
- Forks
- 398
- Merge medio
- 3 d 7 h
- PR fusionados (30 d)
- 15
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/amoro
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
[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" interfacePosiblemente ocupada @Akeron-Zhu la tomó hace 8 días. Abiertotype:improvement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 2 días
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
[Bug]: Configurations.equals is asymmetric for different key setsPosiblemente ocupada @sivakumar-mahalingam la tomó hace 1 día. Abiertotype:bug
apache/amoro#4482 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 2 días
Todos los issues de apache/amoro
Issues similares
-
jules
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
open-learning-exchange/myplanet#18568 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
hibernate/hibernate-reactive#4485 ·
Los mantenedores suelen responder en 1 día
-
type: dependency-upgrade
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
spring-projects/spring-graphql#1556 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
higress-group/higress-console#800 ·
Los mantenedores suelen responder en 1 día