Page MenuHomePhabricator

HDFS under 20% of free space
Closed, ResolvedPublic

Description

We're currently hovering 20% of free space in HDFS, and we have lost 20% of free space (going from 40% to 20%) in 3 months.

image.png (2,824×2,104 px, 326 KB)

The webrequest data obviously takes a lot of space, with its new 180d retention period. We should expect half of it to be deleted when we restore the usual 90d retention.

Screenshot 2026-07-07 at 11.33.12.png (1,349×880 px, 97 KB)

We also have users with pretty large home directories and large hive tables:

92.1T /user/hive/warehouse/mediawiki_upload_tracking.db
51.8T /user/hive/warehouse/xcollazo.db
29.7T /user/hive/warehouse/apizzata
25.2T /user/hive/warehouse/wmf_traffic.db
21.7T /user/hive/warehouse/fab.db
21.3T /user/hive/warehouse/multimedia.db
21.1T /user/hive/warehouse/dr0ptp4kt.db
9.1T /user/hive/warehouse/traffic_patterns.db
31.9T /user/dr0ptp4kt
29.3T /user/analytics-search
28.6T /user/druid
18.6T /user/kcvelaga
17.4T /user/analytics-platform-eng
13.0T /user/fab
12.8T /user/analytics
10.5T /user/dcausse
10.3T /user/mforns

This is not taking into account the extra data storage (~85TB) induced by https://phabricator.wikimedia.org/T420996 when implemented, which should account for -4% free space.

I'm asking multiple things from the Data Engineering group:

  • a cutoff date for the 180d -> 90d retention restore for webrequest data
  • that engineers cleanup un-used data from hive and their user directory (as in truly deleting the data, and not putting it into the trash)
  • that a regular data usage review process be put in place, to stop reacting and start anticipating more

Event Timeline

Screenshot 2026-07-07 at 16.39.37.png (1,323×1,240 px, 122 KB)
We're now at 25% free space (+5.5%).

Ottomata claimed this task.
Ottomata subscribed.

Resolving, feel free to reopen if incorrect.