Applications using HDFS will be able to read data up to 59x faster thanks to this new feature.
http://blog.cloudera.com/blog/2014/08/new-in-cdh-5-1-hdfs-read-caching/
Summary:
A centralized cache management is added to the NameNode. NameNode instructs specific datanodes to cache specific data and datanode sends cache report periodically.
Caching is user drive. User can specify which file/directory to cache and NameNode will ask DataNodes to cache the data by piggy-backing a cache command on the DataNode heartbeat reply.
While scheduling job, DataNode where data is available in cache will be given priority (amongst other replicas) by application schedulers to take advantage of cache-locality.
No comments:
Post a Comment