Implemented caching metadata in namenode