mailtoboggavarapu-coder commented on PR #19861: URL: https://github.com/apache/hudi/pull/19861#issuecomment-5619247122
@voonhous this is a code-correctness fix identified through static analysis — the bug is environment-independent. `InflaterInputStream` wraps a `java.util.zip.Inflater` that holds native zlib resources explicitly documented to require `Inflater.end()` for release; that only happens via `InflaterInputStream.close()`. The asymmetry with `compress()` in the same file — which already uses try-with-resources — confirms this is simply a missing close, not a runtime-specific issue. SPARK-41952 addresses Spark's own internal compression path. This is Hudi's `HoodieAvroDataBlock.decompress()`, a separate code path — the Spark fix doesn't cover it. One-line structural fix, CI green, no logic change. cc @danny0405 @yihua -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
