-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-16711 Add way to skip verifyBuckets check in S3A fs init() #1845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-16711 Add way to skip verifyBuckets check in S3A fs init() #1845
Conversation
Adds a new exception UnknownStoreException to indicate "there's no store there" * raised in verify bucket existence checks * and when translating AWS exceptions into IOEs * The S3A retry policy fails fast on this * And s3GetFileStatus recognises the same failure and raises it Except when the metastore shortcircuits S3 IO, this means all operations against a nonexistent store will fail with a unique exception. ITestS3ABucketExistence is extended to * disable metastore (getFileStatus(/) was returning a value) * always create new instances * invoke all the operations which catch and swallow FNFEs (exists, isFile, isDir, delete) Change-Id: Ide630ec9738ef971eba603b618bd612456fa064b
|
new exception breaks a few tests |
Created a new class org.apache.hadoop.fs.s3a.impl.ErrorTranslation; future work related to mapping from AWS exceptions to IOEs&C can go in there rather than S3AUtils. Moved the checks for an AmazonServiceException being caused by a missing bucket to there; this cleans up uses of the probe. Add a unit test for the recognition/translation. Change-Id: If81573b0c379def4bae715e4395f3ac19857c08e
|
Created a new class org.apache.hadoop.fs.s3a.impl.ErrorTranslation; Moved the checks for an AmazonServiceException being caused by Add a unit test for the recognition/translation. test run: all good except for an intermittent problem I've been seeing with the terasorts where the YARN resource localizer is failing as there's a mismatch between file timestamps...people shouldn't be using S3A as the yarn FS, |
|
💔 -1 overall
This message was automatically generated. |
|
thought: we should make the s3guard tools not dump the whole stack on the failure here, so either
|
Change-Id: I379afa2a10dc7691abb2bd09014fd52a73e3f7f6
see #1838
Adds a new exception UnknownStoreException to indicate
"there's no store there"
Except when the metastore shortcircuits S3 IO, this means all
operations against a nonexistent store will fail with a unique exception.
ITestS3ABucketExistence is extended to
(exists, isFile, isDir, delete)
also: disable the probe for landsat-pds so that we get more test coverage of the option.
Testing: S3 ireland w/ DDB, and the probe set to 0 by default, everywhere
(No obvious speedup...)