You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2025/06/03 08:54:00 UTC
[jira] [Created] (HIVE-28989) Add size threshold for mavens target directory
Stamatis Zampetakis created HIVE-28989:
------------------------------------------
Summary: Add size threshold for mavens target directory
Key: HIVE-28989
URL: https://issues.apache.org/jira/browse/HIVE-28989
Project: Hive
Issue Type: Task
Reporter: Stamatis Zampetakis
Assignee: Stamatis Zampetakis
The target directory tends to store all kind of information from jar artifacts to test logs, reports, and many other things. It is not uncommon, that small seemingly innocent changes (e.g., adding a new test, refactoring) can make the target directory unreasonably large consuming many GB of disk space. When such changes sneak into the project there is a high risk of causing CI/CD instability and intermittent failures that may be hard to debug and fix. Quite recently we have seen such disk based failures in CI (HIVE-28954) that were somehow mitigated by fixing HIVE-28955.
In order to prevent these disk based problems to go unnoticed, we should implement a check that raises an error when the target directory becomes unreasonably large. It mostly makes sense to implement this check after the tests have run since they are among the main culprits that can increase disk usage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)