bp #38552 Co-authored-by: wuwenchi <wuwenchihdu@hotmail.com>
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user