Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Shaded jar built with -Dgeotools keeps only one JAI-EXT registry file

Chiusa
#3,443 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #3444 di @jiayuasu — chiusa senza merge
  • #3460 di @jiayuasu — integrata

Valutazione

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

Direzione di ricerca

The fix lives in the shade plugin configuration of the sedona-spark-shaded module's pom.xml, which is the module built with the -Dgeotools profile. Check how the ServicesResourceTransformer or AppendingTransformer handles META-INF/registryFile.jaiext and META-INF/registryFile.jai, then confirm the shaded jar contains merged entries for both. Pull request 3460 is already open against this issue, so review or build on that work rather than starting a parallel fix.

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

Descrizione

When sedona-spark-shaded is built with -Dgeotools (as the Python CI does), the shade plugin keeps one META-INF/registryFile.jaiext instead of merging the files shipped by the ~30 JAI-EXT modules. Only Affine ends up registered as a JAI-EXT operation. Crop, Scale, Translate, Warp, Mosaic, BandMerge and others fall back to core JAI, and the JAI-EXT-only operations are missing. META-INF/registryFile.jai loses the JAITools ZonalStats entry the same way.

As a result, the Python tests run different raster code than releases (which get GeoTools from geotools-wrapper, where these files are merged) and than the Scala tests.

Fix: append both registry files in the shade configuration.

Lingua principale
Java
Stelle
2.4k
Fork
793
Merge medio
1g 12h
PR unite (30g)
44

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/sedona

Tutte le issue di apache/sedona

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.