-
Notifications
You must be signed in to change notification settings - Fork 14
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
s3 persistence (atum, sdk fs usage, ...) #1526
Merged
Merged
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d638543
Atum 0.2.7-SNAPSHOT integration: build fix, PathConfig - available to…
dk1844 3985682
Standardization attempt with S3 Atum, need to update logic in atum's …
dk1844 c1fe721
Standardization attempt with S3 Atum
dk1844 2c711e0
PathConfigSuite update
dk1844 d8d4c6d
Conformance attempt on s3
dk1844 aded4ba
Atum for s3 snapshot lib update
dk1844 56faa2a
storer+loader set & working
dk1844 f616ebf
output+input INFO corrected for Standardizaton
dk1844 c0333cb
param naming update
dk1844 02bb712
Atum for s3 snapshot lib update
dk1844 b678b1a
FsUtils divided into LocalFsUtils & HdfsUtils
dk1844 3f3df43
S3FsUtils - first implementation - some methods do not cover paginati…
dk1844 04d1950
S3FsUtils with tail-recursive pagination accumulation (non-generic)
dk1844 3e868e2
S3FsUtils with tail-recursive pagination accumulation - now generic w…
dk1844 690c8f0
comments added
dk1844 8e69333
recursion for listAndAccumulate split into wrapper to be called and t…
dk1844 e5bb0b8
HdfsUtils replace by trait DistributedFsUtils (except for MenasCreden…
dk1844 b51d050
using final version of s3-powered Atum (3.0.0)
dk1844 086b3fd
mockito-update version update, scalatest version update
dk1844 43adcba
S3FsUtilsSuite: exists, read, sizeDir(hidden, non-hidden, reucursive)…
dk1844 5879a44
testrun update
dk1844 d2080c9
explicit stubbing fix for hyperdrive
dk1844 2b8dbd6
comment update
dk1844 0cc7ace
clenaup
dk1844 81a4a34
PR touchups
dk1844 34f4800
PR touchups
dk1844 c529ea4
PR comment touchups, example generalized
dk1844 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original logic is to load from a local path and then fallback on the same path to HDFS. Do we want to have the option to fallback to a menas-credentials file on S3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you asking if we want the ability to read menas-credentials file from S3 in general? Answer is yes
Or in some special case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, yes, the former (
ability to read menas-credentials file from S3 in general
).However, the slight problem with the current flow is that the path is fallbacked (lookup up locally, if it doesn't exist, the same path is tried on HDFS and copied to a local temp location). That can be reasonably done with local fs and HDFS; with S3, how do you fallback on a local path that does not exist on S3? (you need a bucket, for example).
We can of course making it work with a file from S3, too, but the fallbacking is weird here.
What is the point of fallbacking like this anyway? Isn't it more confusing rather than helpful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think fallback is not necessary