-
Notifications
You must be signed in to change notification settings - Fork 350
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
[#5139] feat(python-client): Support GCS fileset in the python GVFS client #5160
Merged
Merged
Changes from 108 commits
Commits
Show all changes
110 commits
Select commit
Hold shift + click to select a range
d2447a2
Add a framework to support multi-storage in a pluginized manner for …
yuqi1129 7e5a8b5
Fix compile distribution error.
yuqi1129 f53c5ef
fix
yuqi1129 36fedcd
fix
yuqi1129 e93fba5
fix
yuqi1129 b1e04b6
fix
yuqi1129 db00e65
Changed according to comments.
yuqi1129 c793582
fix
yuqi1129 013f5cb
fix
yuqi1129 dba5753
Merge branch 'main' of github.com:datastrato/graviton into issue_5019
yuqi1129 16dfc73
resolve comments.
yuqi1129 278fcd8
Polish code.
yuqi1129 3fb55ad
fix
yuqi1129 cd04666
fix
yuqi1129 d0bf13e
Support GCS fileset.
yuqi1129 ffaa064
Change gvfs accordingly.
yuqi1129 32d7f3d
Merge remote-tracking branch 'me/issue_5019' into issue_5019
yuqi1129 d82bf76
Update Java doc for FileSystemProvider
yuqi1129 dfdb772
Fix
yuqi1129 8708a8a
Fix
yuqi1129 ba9f8fa
Fix test error.
yuqi1129 dae99f7
Polish.
yuqi1129 e22053b
Polish
yuqi1129 4fb89e0
Polish
yuqi1129 e5746c0
Rename `AbstractIT` to `BaseIT`
yuqi1129 b2d7bed
Fix
yuqi1129 380717b
Merge branch 'apache:main' into issue_5019
yuqi1129 f4041ec
Fix python ut error again.
yuqi1129 66247ab
Merge branch 'issue_5019' of github.com:yuqi1129/gravitino into issue…
yuqi1129 3cfb94f
Fix test error again.
yuqi1129 7d1150f
Fix minor.
yuqi1129 608081b
fix
yuqi1129 9edfe82
Fix
yuqi1129 3079bf0
Fix
yuqi1129 da49e60
Fix
yuqi1129 b621d89
Fix
yuqi1129 05dd006
Merge branch 'issue_5019' into issue_5074
yuqi1129 9d5b8dc
rebase issue_5019
yuqi1129 e58f9a0
Fix
yuqi1129 c521daf
resolve comments
yuqi1129 46e996a
Resolve comments again.
yuqi1129 da0b7ca
Polish again.
yuqi1129 e9ccda4
Merge branch 'issue_5019' of github.com:yuqi1129/gravitino into issue…
yuqi1129 ba1fe5f
Rebase branch issue_5019
yuqi1129 4ffe389
Merge branch 'main' of github.com:datastrato/graviton into issue_5139
yuqi1129 7c44a57
Support python gvfs
yuqi1129 992ba0a
fix
yuqi1129 5dbca5f
fix
yuqi1129 f27520a
Update code.
yuqi1129 e29e47b
Merge branch 'issue_5019' into issue_5074
yuqi1129 bc1e76f
Rebase branch issue_5019
yuqi1129 8a9d3bf
Merge branch 'issue_5074' of github.com:yuqi1129/gravitino into issue…
yuqi1129 2115e31
fix
yuqi1129 c2e55d4
fix
yuqi1129 557aa02
fix
yuqi1129 5c3fa5c
fix
yuqi1129 408eca7
fix
yuqi1129 a02065d
fix
yuqi1129 8762bae
fix
yuqi1129 dc7a915
fix
yuqi1129 c230991
fix
yuqi1129 dc54880
skip some test.
yuqi1129 7ecc040
fix
yuqi1129 da46321
fix
yuqi1129 27bc2ab
Fix
yuqi1129 017c42e
Merge branch 'issue_5019' into issue_5074
yuqi1129 9dc0f5a
Fix
yuqi1129 41ff00d
Merge branch 'issue_5019' of github.com:yuqi1129/gravitino into issue…
yuqi1129 1fee1e4
Fix
yuqi1129 1789bd2
fix
yuqi1129 2ee1709
Fix
yuqi1129 05e5d20
Fix
yuqi1129 8f28211
Fix
yuqi1129 35cba1e
Fix
yuqi1129 bcf2f12
Fix
yuqi1129 f25a37d
Fix a problem
yuqi1129 a3da011
Merge branch 'issue_5019' into issue_5074
yuqi1129 3517996
Merge branch 'main' of github.com:apache/gravitino into issue_5074
yuqi1129 27a911a
fix
yuqi1129 e34dbea
Merge branch 'main' of github.com:apache/gravitino into issue_5074
yuqi1129 6bae7e5
Fix a problem
yuqi1129 fe13f5e
Fix a problem
yuqi1129 0181632
Fix a problem
yuqi1129 3ff9eef
Fix
yuqi1129 2ce660c
Fix
yuqi1129 f0fa87b
Fix
yuqi1129 d2921a8
Fix
yuqi1129 dc68dd1
Fix
yuqi1129 6431e2f
Fix
yuqi1129 242888f
Fix
yuqi1129 3ec2dcc
Merge branch 'issue_5074' of github.com:yuqi1129/gravitino into issue…
yuqi1129 f754997
Fix
yuqi1129 2cdfb35
Fix
yuqi1129 67dbc3a
Resolve comments.
yuqi1129 70a545e
Fix the java doc problem.
yuqi1129 4d54acf
Merge branch 'issue_5074' into issue_5139
yuqi1129 15bbf99
rebase issue_5074
yuqi1129 cfcc544
Optimize code.
yuqi1129 acf51e1
Merge branch 'issue_5074' of github.com:yuqi1129/gravitino into issue…
yuqi1129 11f9992
Merge branch 'main' of github.com:datastrato/graviton into issue_5139
yuqi1129 4f00a2f
Remove s3 related code.
yuqi1129 b9ef8f0
fix
yuqi1129 9f65fb5
try to import lazily.
yuqi1129 4defcc6
format code.
yuqi1129 3a907f4
fix
yuqi1129 76912b7
fix
yuqi1129 4478673
fix
yuqi1129 5a194df
Merge branch 'main' of github.com:datastrato/graviton into issue_5139
yuqi1129 c8b5c7c
Merge branch 'main' of github.com:datastrato/graviton into issue_5139
yuqi1129 6ff9353
Resolve comments
yuqi1129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,12 @@ def setUpClass(cls): | |
) | ||
sys.exit(0) | ||
|
||
# remove data dir under gravitino_home | ||
data_dir = os.path.join(cls.gravitino_home, "data") | ||
if os.path.exists(data_dir): | ||
logger.info("Remove Gravitino data directory: %s", data_dir) | ||
subprocess.run(["rm", "-rf", data_dir], check=False) | ||
|
||
logger.info("Starting integration test environment...") | ||
|
||
# Start Gravitino Server | ||
|
@@ -141,6 +147,12 @@ def restart_server(cls): | |
"project root directory." | ||
) | ||
|
||
# remove data dir under gravitino_home | ||
data_dir = os.path.join(gravitino_home, "data") | ||
if os.path.exists(data_dir): | ||
logger.info("Remove Gravitino data directory: %s", data_dir) | ||
subprocess.run(["rm", "-rf", data_dir], check=False) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
|
||
# Restart Gravitino Server | ||
env_vars = os.environ.copy() | ||
env_vars["HADOOP_USER_NAME"] = "anonymous" | ||
|
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.
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.
It's better to use
shutil.rmtree
to delete the dir recursively.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.
done