Page MenuHomePhabricator

Check home/HDFS leftovers of mszabo
Closed, ResolvedPublic

Description

The access for Máté Szabó (mszabo) was removed. It needs to be checked if data was left in home dirs on stat*/HDFS since they were part of the "analytics-privatedata-users" group.

The Kerberos principal has already been removed.

Event Timeline

Gehel triaged this task as Low priority.Sep 2 2025, 1:35 PM
Stevemunene subscribed.

No files found for user mszabo on the stat hosts

stevemunene@cumin1003:~$ sudo cumin 'stat1*.eqiad.wmnet' 'ls /home/mszabo'
4 hosts will be targeted:
stat[1008-1011].eqiad.wmnet
OK to proceed on 4 hosts? Enter the number of affected hosts to confirm or "q" to quit: 4
===== NO OUTPUT =====                                                                                                                                                                                                                                                                                           
PASS |██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100% (4/4) [00:00<00:00,  7.91hosts/s]
FAIL |                                                                                                                                                                                                                                                                          |   0% (0/4) [00:00<?, ?hosts/s]
100.0% (4/4) success ratio (>= 100.0% threshold) for command: 'ls /home/mszabo'.
100.0% (4/4) success ratio (>= 100.0% threshold) of nodes successfully executed all commands.

some files found on HDFS for the user

stevemunene@an-master1003:~$ sudo kerberos-run-command hdfs hdfs dfs -ls /user/mszabo
Found 1 items
drwxr-x---   - mszabo mszabo          0 2025-04-17 12:45 /user/mszabo/.sparkStaging

some files found on HDFS for the user

stevemunene@an-master1003:~$ sudo kerberos-run-command hdfs hdfs dfs -ls /user/mszabo
Found 1 items
drwxr-x---   - mszabo mszabo          0 2025-04-17 12:45 /user/mszabo/.sparkStaging

This seems trivial enough configuration file, it seems unlikely that we need to keep those. I'm approving the removal.

Thanks, user files have been deleted.

stevemunene@an-master1003:~$ sudo kerberos-run-command hdfs hdfs dfs -rm -r /user/mszabo
25/09/25 17:09:20 INFO fs.TrashPolicyDefault: Moved: 'hdfs://analytics-hadoop/user/mszabo' to trash at: hdfs://analytics-hadoop/user/hdfs/.Trash/Current/user/mszabo
stevemunene@an-master1003:~$ sudo kerberos-run-command hdfs hdfs dfs -ls /user/mszabo
ls: `/user/mszabo': No such file or directory
stevemunene@an-master1003:~$