adplus-dvertising
frame-decoration

Question

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

Posted under Hadoop

Answer: (a).hdfs dfsadmin -getStoragePolicy path

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statement can be used to get the storage policy of a file or a directory?

Similar Questions

Discover Related MCQs

Q. Which of the following method is used to get user-specified job name?

Q. __________ get events indicating completion (success/failure) of component tasks.

Q. _________ gets the diagnostic messages for a given task attempt.

Q. reduceProgress() gets the progress of the job’s reduce-tasks, as a float between _________

Q. The Job makes a copy of the _____________ so that any necessary internal modifications do not reflect on the incoming parameter.

Q. ________ is the architectural center of Hadoop that allows multiple data processing engines.

Q. YARN’s dynamic allocation of cluster resources improves utilization over more static _______ rules used in early versions of Hadoop.

Q. The __________ is a framework-specific entity that negotiates resources from the ResourceManager.

Q. Apache Hadoop YARN stands for _________

Q. MapReduce has undergone a complete overhaul in hadoop is _________

Q. The ____________ is the ultimate authority that arbitrates resources among all the applications in the system.

Q. The __________ is responsible for allocating resources to the various running applications subject to familiar constraints of capacities, queues etc.

Q. The CapacityScheduler supports _____________ queues to allow for more predictable sharing of cluster resources.

Q. Yarn commands are invoked by the ________ script.

Q. The queue definitions and properties such as ________ ACLs can be changed, at runtime.

Q. The CapacityScheduler has a predefined queue called _________

Q. The updated queue configuration should be a valid one i.e. queue-capacity at each level should be equal to _________

Q. Users can bundle their Yarn code in a _________ file and execute it using jar command.

Q. Which of the following command is used to dump the log container?

Q. __________ will clear the RMStateStore and is useful if past applications are no longer needed.