[fix](multi-catalog)add properties converter fe ut (#27254)
This commit is contained in:
@ -131,6 +131,7 @@ public class S3Util {
|
||||
if (StringUtils.isNotEmpty(host)) {
|
||||
// Replace 'hdfs://key/' to 'hdfs://name_service/key/'
|
||||
// Or hdfs:///abc to hdfs://name_service/abc
|
||||
// TODO: check host in path when the 'dfs.nameservices' has multiple hosts
|
||||
return location.replace(normalizedPrefix, normalizedPrefix + host + "/");
|
||||
} else {
|
||||
// 'hdfs://null/' equals the 'hdfs:///'
|
||||
|
||||
Reference in New Issue
Block a user