apache / apache/parquet-java

parquet-hadoop tests to work with hadoop 3.4.0

Aperta
#2,897 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Component: Hadoop Component: Parquet Priority: Major Type: bug
Lingua principale
Java
Stelle
3.1k
Fork
1.6k
Merge medio
3g 12h
PR unite (30g)
33

Descrizione

Test runs of parquet-hadoop with `-Dhadoop.version=3.4.0` fail because there's a logback jar on the classpath, which screws things up (mostly seemingly because it suddenly logs at debug)

HADOOP-19084 should have fixed this, as it explicitly excludes the export. clearly not. created HADOOP-19153 as a followup.

For now, all parquet needs is to exclude logback as a hadoop-common dependency. I'll be extra cautious and get rid of all log dependencies.

**Reporter**: [Steve Loughran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stevel@apache.org) / @steveloughran
#### Related issues:
- [hadoop-common still exports logback as a transitive dependency](https://issues.apache.org/jira/browse/HADOOP-19153) (relates to)
#### PRs and other links:
- [GitHub Pull Request #1321](https://github.com/apache/parquet-mr/pull/1321)

**Note**: *This issue was originally created as [PARQUET-2459](https://issues.apache.org/jira/browse/PARQUET-2459). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con la configurazione dei test e delle dipendenze di parquet-hadoop, quindi esegui i test con -Dhadoop.version=3.4.0 per riprodurre il problema del classpath. Verifica che la dipendenza Hadoop non introduca più i jar di logging indesiderati nel classpath dei test e che i test abbiano esito positivo; HADOOP-19153 e pull request #1321 forniscono il contesto per il lavoro già in corso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
build-system, testing-qa
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.