[bugfix](paimon)Use the fs cache, otherwise it will cause OOM (#38552) (#40052)

bp #38552

Co-authored-by: wuwenchi <wuwenchihdu@hotmail.com>
This commit is contained in:
Mingyu Chen
2024-08-28 21:42:36 +08:00
committed by GitHub
parent 4909c34555
commit 6ef1211585
2 changed files with 1 additions and 2 deletions

View File

@ -311,7 +311,6 @@ public class PropertyConverter {
endpoint = endpoint.replace(OssProperties.OSS_PREFIX, "");
}
ossProperties.put(org.apache.hadoop.fs.aliyun.oss.Constants.ENDPOINT_KEY, endpoint);
ossProperties.put("fs.oss.impl.disable.cache", "true");
ossProperties.put("fs.oss.impl", getHadoopFSImplByScheme("oss"));
boolean hdfsEnabled = Boolean.parseBoolean(props.getOrDefault(OssProperties.OSS_HDFS_ENABLED, "false"));
if (LocationPath.isHdfsOnOssEndpoint(endpoint) || hdfsEnabled) {