Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
ABFS open methods require certain information (contentLength, eTag, etc) to to create an InputStream for the file at the given path. This information is retrieved via a GetFileStatus request to backend.
However, client applications may often have access to the FileStatus prior to invoking the open API. Providing this FileStatus to the driver through the OpenFileParameters argument of openFileWithOptions() can help avoid the call to Store for FileStatus.
This PR adds handling for the FileStatus instance (if any) provided via the OpenFileParameters argument.
Attachments
Issue Links
- relates to
-
HADOOP-16202 Enhance openFile() for better read performance against object stores
- Resolved
- links to