Page MenuHomePhabricator

Check home/HDFS leftovers of dcipoletti
Closed, ResolvedPublic

Description

The access for Daniel Cipoletti was removed. It needs to be checked if data was left in home dirs on stat*/notebook*/HDFS since they were part of the "analytics-privatedata-users" group.

I've already removed the Kerberos principal.

Event Timeline

@razzi see https://wikitech.wikimedia.org/wiki/Analytics/Ops_week#Have_any_users_left_the_Foundation?

This is something that I usually do, namely adding the list of leftovers in the task and ping relevant people to see if anything needs to be preserved. Do you want to try the workflow? :)

As part of the ops week I started this task. I updated the bash script in @elukey's link above (updated on wiki) to:

  • Use grep insteead of sudo to check /var/userarchive/USERNAME.tar.bz2
  • Use sudo -u hdfs for hdfs commands.

Outcome:

./check_user_folder.sh dcipoletti

====== stat1004 ======
total 0

====== stat1005 ======
total 0

====== stat1006 ======
total 0

====== stat1007 ======
total 0

====== stat1008 ======
total 0

======= HDFS ========

====== Hive =========

Leaving in progress for @elukey or @razzi to triple check.

@razzi what I usually do is clean up directories anyway, like ssh stat1004.eqiad.wmnet 'rm -rfv /srv/home/dcipolletti etc.. (the -v lists files deleted). Please be very careful since we don't backup home dirs so the wrong rm could be problematic :D

JAllemandou subscribed.

Reassigning for folders deletion (no file)

Dropped /srv/home/dcipoletti.