Skip to content
Snippets Groups Projects

NXCALS-1765 gobblin cleanup

Merged Kamil Krzysztof Krynicki requested to merge feature-NXCALS-1765-gobblin-cleanup into develop

#Merge request template @acc-logging-team - please have a look for approval.

Please take an especially careful look on my ansible changes. I really wanted to work within the given structure, but you never know...

features

  • every etl instance, prior to launching, now will check if it has directories to clean (param clean.directories)
  • if so, it will recursively remove all the empty directories starting from the given roots (potentially removing even the root itself)

minor

  • utility class DirectoryIterator, which discovers all the subdirectories starting from a given root, skipping if the content triggers the predicate (responding to additions and removals)
  • utility class HdfsCleaner, which removes all the directories given by an iterator, measures the removal time and size

Closes NXCALS-1765

Edited by Kamil Krzysztof Krynicki

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading