-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HADOOP-16759 address Mingliang's comments
* approximate builder API for openFileParameters * S3AFS moves to Optional<S3AFileStatus> where appropriate, which includes the select() operation too. There's a common method to do the extraction. * Switch to objects.requireNonNull in stream builder / openFileParameters plus error text (NPE debugging...) Extra tests * verify pickup of invalid status when none is supplied * rejection of a status declaring the source is a directory * after an object is deleted, the 404 isn't picked up until the read() call initiates the GET. * And there, if you use server-side versionID, *you get the file still* * +contract test to verify that withFileStatus(null) status value is rejected Change-Id: I326f68538940f245e1af56d3b6055015fd3e1bfe
- Loading branch information
1 parent
19c9d4a
commit 6a1a951
Showing
5 changed files
with
108 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters