Remove slf4j-log4j12 Binding from parquet-protobuf Module
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 1.6k
- Merge medio
- 3 d 12 h
- PR fusionados (30 d)
- 33
Descripción
```none
Running org.apache.parquet.proto.ProtoInputOutputFormatTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/m2/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/m2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
```
There are two bindings being included and it produces this warning. `slf4j-log4j12` is coming in as a transient dependency. There is also a log4j properties file in the test resources, but all it does is produce logging to the console. Just stick with the `slf4j-simple` logger for testing (which is already explicitly specified for testing)
**Reporter**: [David Mollitor](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=belugabehr) / @belugabehr
**Assignee**: [David Mollitor](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=belugabehr) / @belugabehr
#### PRs and other links:
- [GitHub Pull Request #737](https://github.com/apache/parquet-mr/pull/737)
**Note**: *This issue was originally created as [PARQUET-1752](https://issues.apache.org/jira/browse/PARQUET-1752). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Inspecciona la configuración de dependencias y los recursos de prueba del módulo parquet-protobuf, incluido el archivo de propiedades de log4j mencionado en el issue. Ejecuta org.apache.parquet.proto.ProtoInputOutputFormatTest y verifica que solo permanezca el binding slf4j-simple seleccionado explícitamente y que haya desaparecido la advertencia de múltiples bindings.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- build-system, testing
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 20/100