mchades commented on code in PR #6985:
URL: https://github.com/apache/gravitino/pull/6985#discussion_r2051925933
##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/BaseGVFSOperations.java:
##########
@@ -537,6 +553,13 @@ private void setCallerContext(FilesetDataOperation
operation) {
CallerContext.CallerContextHolder.set(callerContext);
}
+ private void setCallerContextForGetCredentials(String locationName) {
+ Map<String, String> contextMap = Maps.newHashMap();
+ contextMap.put(CredentialConstants.HTTP_HEADER_CURRENT_LOCATION_NAME,
locationName);
+ CallerContext callerContext =
CallerContext.builder().withContext(contextMap).build();
Review Comment:
yes, it will be overrided by current contextMap
--
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]