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

Remove the unused HudiPlugin class from hudi-trino

Chiusa
#20,004 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Locate io.trino.plugin.hudi.HudiPlugin in hudi-trino's main sources and inspect the Hudi-side tests that install the connector. Check whether those tests require a plugin class and, if so, use the proposed test-only equivalent. Done means the main-source class is removed without breaking tests or the Trino duplicate-finder configuration.

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

Descrizione

Follow-up to #18780 (RFC-105 hudi-trino migration), raised in review of trinodb/trino#30682.

What

hudi-trino ships io.trino.plugin.hudi.HudiPlugin (checked in hudi-trino-1.2.1-rc2.jar), but no META-INF/services/io.trino.spi.Plugin descriptor, so Trino never loads it. The entry point Trino actually uses is the HudiPlugin in Trino's plugin/trino-hudi module, which wraps HudiConnectorFactory from hudi-trino.

Because both jars contain the same class, Trino's trino-hudi pom has to tell duplicate-finder to ignore io.trino.plugin.hudi.HudiPlugin.

Proposed fix

Remove HudiPlugin from hudi-trino's main sources. If Hudi-side tests need a plugin to install the connector, keep a test-only equivalent (for example TestingHudiPlugin).

Why here

Under RFC-105 the Trino-side HudiPlugin is the only entry point, and the class in hudi-trino can only be removed here.

Lingua principale
Java
Stelle
6.3k
Fork
2.5k
Merge medio
2g 3h
PR unite (30g)
113

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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/hudi

Tutte le issue di apache/hudi

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.