forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add finalizeS3FileSystem (facebookincubator#6398)
Summary: Add finalizeS3FileSystem to explicitly teardown the AWS SDK C++. Velox users need to manually invoke this before exiting an application. This is because Velox uses a static object to hold the S3 FileSystem instance. AWS C++ SDK library also uses static global objects in its code. The order of static object destruction is not defined by the C++ standard. This could lead to a segmentation fault during the program exit. Reference: aws/aws-sdk-cpp#1550 (comment) Remove intializeClient() as this can be done during S3FileSystem construction. Clarify AWS SDK log level is set during the S3 initialization. Fix test. Refactor S3FileSystem tests to separate filesystem tests and registration tests. Pull Request resolved: facebookincubator#6398 Reviewed By: kgpai Differential Revision: D49114381 Pulled By: pedroerp fbshipit-source-id: e124d5d5e74ac60f73df729c2deff2392eef6efe
- Loading branch information
1 parent
4afe77b
commit 51be7e7
Showing
9 changed files
with
374 additions
and
203 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
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
Oops, something went wrong.