-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix GCSV2UnderFileSystem initialization #18184
Conversation
} else { | ||
if (conf.getInt(PropertyKey.UNDERFS_GCS_VERSION) == GCS_VERSION_TWO) { | ||
try { | ||
return GCSV2UnderFileSystem.createInstance(new AlluxioURI(path), conf); |
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.
why checkgcscredentials doesnt apply to this anymore?
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.
GCS v2 only need to provide json file, only v1 is using access key. #17985 make the wrong check so I just revert it
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.
then why it was merged in the first place? sorry I don't have the context and I don't want to make the call of LGTM, if some bugs are introduced as part of other PR, can u plz let the related group know?
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 this change is OK for GCS v2.
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.
LGTM
Tested locally and it works |
alluxio-bot, merge this please |
@zhezhidashi fixed here |
What changes are proposed in this pull request?
Fix GCSV2UnderFileSystem initialization
Why are the changes needed?
not able to create ufs instance if not set access key, which should not be a requirement for gcs v2
Does this PR introduce any user facing changes?
na