Deletes every object under path. Every SUCCESS_MARKER under path is
deleted before the other objects, so a delete that stops partway does not leave the
directory listed as complete without its files. If deleting a marker
fails, nothing else is deleted.
This function will find all child directories in the input store which are
of the form “epoch_num” and return a map of epoch number to the directory
path
This function will find all child directories in the input store which are
of the form “epoch_num” and return a map of epoch number to the directory
path
This function will find missing epoch directories in the input store and
return a list of such epoch numbers. If the highest epoch directory in the
store is epoch_N then it is expected that the store will have all epoch
directories from epoch_0 to epoch_N. Additionally, any epoch directory
should have the passed in marker file present or else that epoch number is
already considered as missing.
The returned list will contain epoch_N+1.
Finds all epochs in the store and returns them as a sorted list, paired
with each epoch’s end timestamp in ms when its metadata file is present, or
0 otherwise.