In Hadoop, centralized cache management is an explicit mechanism for caching the most frequently used files. Users can configure the path to be cached by HDFS, which prevents them from being evicted from memory. Namenode is responsible for coordinating all the Datanode caches in the cluster and periodically receives a cache report.
For this recipe, you will again need a running cluster with at least the HDFS daemons running in the cluster.
master1.cyrus.commaster node and switch to user
$ hdfs cacheadmin -addPool sales