Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HDFS-10285
-
None
-
Reviewed
Description
This JIRA is for implementing a daemon thread called StoragePolicySatisfier in namatode, which scans the asked files blocks which are placed in different storages in DNs than the related policies specifie.
The idea is:
- When user called on some files/dirs to satisfy storage policy, they should have been tracked in NN and then StoragePolicySatisfier thread will pick one by one file, then check the blocks which might have been placed in different storage in DN than what the storage policy is expecting it to.
- After checking all, it should also construct the data structures with the required information to move a block from one storage to another.