Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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: a
Explanation: refers to the path referring to either a directory or a file.

Join The Discussion