Details
Description
Add support to cache GetFileStatus and ListStatus response locally for limited period of time. Local cache for limited period of time would optimize number of calls for GetFileStatus operation.
One of the example where local limited period cache would be useful - terasort ListStatus on input directory follows with GetFileStatus operation on each file within directory. For 2048 input files in a directory would save 2048 GetFileStatus calls during start up (Using the ListStatus response to cache FileStatus instances).
Attachments
Issue Links
- depends upon
-
HADOOP-15038 Abstract MetadataStore in S3Guard into a common module.
- Patch Available
- is related to
-
HADOOP-13452 S3Guard: Implement access policy for intra-client consistency with in-memory metadata store.
- Resolved
-
HADOOP-13321 Deprecate FileSystem APIs that promote inefficient call patterns.
- Resolved