Details
-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: HDFS-10285
-
Fix Version/s: HDFS-10285, 3.2.0
-
Labels:None
-
Hadoop Flags:Reviewed
Description
This jira to discuss and implement set of satisfy storage policy sub-commands. Following are the list of sub-commands:
- Schedule blocks to move based on file/directory policy:
hdfs storagepolicies -satisfyStoragePolicy -path <path>]
- Its good to have one command to check SPS is enabled or not. Based on this user can take the decision to run the Mover:
hdfs storagepolicies -isSPSRunning