When a persisted folder in Alluxio has a two subfolders, one is persisted; the other is not but with another folder, the recursive deletion of the folder fails. For example, a directory structure like the following:
The deletion fails with error:
ERROR SafeUfsDeleter - The directory cannot be deleted from the ufs as it is not in sync: /folder/persistedFolder
However the inode of /folder/persistedFolder is removed from Alluxio but it leaves the corresponding folder in ufs not deleted.