[Bug]: Fix OOM in integration test
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- data, testing-qa
Direzione di ricerca
The failing case is the integration test json/0018_enhanced_json_output_streaming, which runs a shell command that writes a JSON file under a 128MB heap. Start with that test's workflow file and the Java program it runs, then check whether the JSON output transform streams rows or holds them in memory. Done means the test passes in CI without raising the heap limit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Apache Hop version?
2.21.0-SNAPSHOT
Java version?
OpenJDK 21
Operating system
Other
What happened?
Failed: json.0018-enhanced-json-output-streaming
2026/11/01 07:51:20 - run-workflow - Start of workflow execution
2026/11/01 07:51:20 - run-workflow - Starting action [Start]
2026/11/01 07:51:20 - run-workflow - Finished action [Start] (result=[true])
2026/11/01 07:51:20 - run-workflow - Starting action [Run ${WORKFLOW_FILE}]
2026/11/01 07:51:20 - main-0018-enhanced-json-output-streaming - Start of workflow execution
2026/11/01 07:51:20 - main-0018-enhanced-json-output-streaming - Starting action [Start]
2026/11/01 07:51:20 - main-0018-enhanced-json-output-streaming - Finished action [Start] (result=[true])
2026/11/01 07:51:20 - main-0018-enhanced-json-output-streaming - Starting action [Write a JSON file larger than the heap]
2026/11/01 07:51:20 - Write a JSON file larger than the heap - Running on platform : Linux
2026/11/01 07:51:20 - Write a JSON file larger than the heap - Executing command : /tmp/hop_97eb2742-6afc-4ad3-981a-f83fe422156dshell
2026/11/01 07:51:40 - Write a JSON file larger than the heap - (stdout) Writing the JSON file with a 128MB heap failed:
2026/11/01 07:51:40 - Write a JSON file larger than the heap - (stdout) 2026/11/01 07:51:27 - General - Regional settings: language=en_US format=en_US timezone=GMT source=installation:OPERATING_SYSTEM
2026/11/01 07:51:40 - Write a JSON file larger than the heap - (stdout) Terminating due to java.lang.OutOfMemoryError: Java heap space
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Finished action [Write a JSON file larger than the heap] (result=[false])
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Starting action [Failure: the JSON file was not streamed]
2026/11/01 07:51:40 - Failure: the JSON file was not streamed - ERROR: Failure: the JSON file was not streamed
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Stop workflow execution
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Finished action [Failure: the JSON file was not streamed] (result=[false])
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Workflow execution finished
2026/11/01 07:51:40 - main-0018-enhanced-json-output-streaming - Workflow duration : 20.336 seconds [ 20.336" ]
2026/11/01 07:51:40 - run-workflow - Finished action [Run ${WORKFLOW_FILE}] (result=[false])
2026/11/01 07:51:40 - run-workflow - Starting action [Abort workflow]
2026/11/01 07:51:40 - Abort workflow - ERROR: Aborting workflow.
2026/11/01 07:51:40 - run-workflow - Stop workflow execution
2026/11/01 07:51:40 - run-workflow - Finished action [Abort workflow] (result=[false])
2026/11/01 07:51:40 - run-workflow - Workflow execution finished
2026/11/01 07:51:40 - run-workflow - Workflow duration : 20.405 seconds [ 20.405" ]
Issue Priority
Priority: 2
Issue Component
Component: Transforms
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 499
- Merge medio
- 1g 5h
- PR unite (30g)
- 316
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/hop
-
Beam P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Hop Gui P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apache/hop#9325 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
CI: LFC/ANTLR caches still use the old lfc/ paths, so the ANTLR jar is downloaded on every runForse già presa @NicoBiernat l’ha presa oggi. Apertabug CI
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lf-lang/reactor-uc#443 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Card-Forge/forge#13128 ·
I maintainer di solito rispondono entro 1 giorno
-
client documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
ClickHouse/clickhouse-java#3469 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno