Explanation:Arguments are none for the hdfs storagepolicies command. 4. Which of the following statement can be used 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:A
Explanation:Arguments are none for the hdfs storagepolicies command. 4. Which of the following statement can be used 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
Explanation: refers to the path referring to either a directory or a file. 5. Point out the wrong statement :