1.

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 mentionedThe question was asked in semester exam.The origin of the question is MapReduce Job in section Working of MapReduce of Hadoop

Answer» RIGHT choice is (a) hdfs dfsadmin -getStoragePolicy path

Easy explanation: REFERS to the path REFERRING to either a directory or a FILE.


Discussion

No Comment Found

Related InterviewSolutions