yuqi1129 commented on code in PR #13455:
URL: https://github.com/apache/gravitino/pull/13455#discussion_r4093660741
##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/GravitinoVirtualFileSystem.java:
##########
@@ -301,6 +301,7 @@ public long getDefaultBlockSize(Path f) {
@Override
public Token<?>[] addDelegationTokens(String renewer, Credentials
credentials) {
+ operations.prepareDelegationTokens(workingDirectory);
Review Comment:
This will only work for a single fileset location if the filesystem cache is
enabled (default). The Filesystem cache will cache only one filesystem instance
for any location that starts with `gvfs://fileset/...`. As long as Spark access
multiple fileset at the same time, only the first will got the token.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]