[ 
https://issues.apache.org/jira/browse/HADOOP-19242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878544#comment-17878544
 ] 

ASF GitHub Bot commented on HADOOP-19242:
-----------------------------------------

zhouaoe commented on code in PR #6967:
URL: https://github.com/apache/hadoop/pull/6967#discussion_r1740639568


##########
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSRedirect.java:
##########
@@ -0,0 +1,279 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.fs.aliyun.oss;
+
+import org.apache.commons.lang3.StringUtils;

Review Comment:
   > nit: import ordering, especially keeping apache stuff on their own
   
   OK. I will optimize the import ordering 





> AliyunOSS: Add a feature to disable redirection for the OSS connector.
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-19242
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19242
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/oss
>    Affects Versions: 3.1.0, 3.3.2
>            Reporter: zhouao
>            Priority: Major
>              Labels: pull-request-available
>
> For security reasons, some users of the OSS connector wish to disable the 
> connector's HTTP redirection functionality. The OSS Java SDK have the 
> capability to turn off HTTP redirection, but the configuration is not exposed 
> in the {{core-site.xml}} file. This change primarily involves adding a flag 
> to disable HTTP redirection in the {{core-site.xml}} file



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to