Skip to content

Commit c6542d8

Browse files
committed
HADOOP-19004. httpsigner
* Remove unused method in s3afs * put static imports in DefaultS3ClientFactory in right order Change-Id: Ib5125d5e1a373835bac5f90efed42d0947cd1ba5
1 parent acf1505 commit c6542d8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/DefaultS3ClientFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
import static org.apache.hadoop.fs.s3a.Constants.HTTP_SIGNER_CLASS_NAME;
5858
import static org.apache.hadoop.fs.s3a.Constants.HTTP_SIGNER_ENABLED;
5959
import static org.apache.hadoop.fs.s3a.Constants.HTTP_SIGNER_ENABLED_DEFAULT;
60-
import static org.apache.hadoop.fs.s3a.auth.SignerFactory.createHttpSigner;
61-
import static org.apache.hadoop.fs.s3a.impl.AWSHeaders.REQUESTER_PAYS_HEADER;
6260
import static org.apache.hadoop.fs.s3a.Constants.DEFAULT_SECURE_CONNECTIONS;
6361
import static org.apache.hadoop.fs.s3a.Constants.SECURE_CONNECTIONS;
6462
import static org.apache.hadoop.fs.s3a.Constants.AWS_SERVICE_IDENTIFIER_S3;
63+
import static org.apache.hadoop.fs.s3a.auth.SignerFactory.createHttpSigner;
64+
import static org.apache.hadoop.fs.s3a.impl.AWSHeaders.REQUESTER_PAYS_HEADER;
6565
import static org.apache.hadoop.fs.s3a.impl.InternalConstants.AUTH_SCHEME_AWS_SIGV_4;
6666

6767

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5760,10 +5760,6 @@ public StoreContext createStoreContext() {
57605760
.build();
57615761
}
57625762

5763-
public CreateSessionResponse createSessionInternal(CreateSessionRequest createSessionRequest){
5764-
return this.s3Client.createSession(createSessionRequest);
5765-
}
5766-
57675763
/**
57685764
* Create a marker tools operations binding for this store.
57695765
* Auditing:

0 commit comments

Comments
 (0)