Which of the following statement can be used to get the storage policy of a file or a directory?
A. hdfs dfsadmin -getStoragePolicy path
B. hdfs dfsadmin -setStoragePolicy path policyName
C. hdfs dfsadmin -listStoragePolicy path policyName
D. all of the mentioned
Answer: Option A

Join The Discussion