zhouaoe commented on code in PR #6967:
URL: https://github.com/apache/hadoop/pull/6967#discussion_r1740632307
##########
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSFileSystemStore.java:
##########
@@ -147,6 +147,13 @@ public void initialize(URI uri, Configuration conf, String
user,
throw new IllegalArgumentException(msg);
}
+ boolean redirectEnable = conf.getBoolean(REDIRECT_ENABLE_KEY,
+ REDIRECT_ENABLE_DEFAULT);
+ if (!redirectEnable) {
Review Comment:
1 I will simplify the code to clientConf.setRedirectEnable(redirectEnable)
2 yes,the OSS SDK defaults the redirect setting to true
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]