10-03-2018 04:53 AM
Hello,
we have setup StorgePolicy for few years and I would need to list all ARCHIVE directories which has set up COLD StoragePolicy.
I didn't find any "hdfs" command which would be able to list it recursively and use the standard command "hdfs storagepolicies -getStoragePolicy -path <path>" is very time consuming because each request takes 2 sec go trought entire HDFS takes several days/weeks.
Thank you.