File tree Expand file tree Collapse file tree 6 files changed +10
-9
lines changed
hadoop-tools/hadoop-aws/src
main/java/org/apache/hadoop/fs/s3a
test/java/org/apache/hadoop/fs/s3a/list Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -1529,7 +1529,8 @@ private Constants() {
15291529 /**
15301530 * Default value of Read Restored Glacier objects config.
15311531 */
1532- public static final String DEFAULT_READ_RESTORED_GLACIER_OBJECTS = S3ObjectStorageClassFilter .READ_ALL .toString ();
1532+ public static final String DEFAULT_READ_RESTORED_GLACIER_OBJECTS =
1533+ S3ObjectStorageClassFilter .READ_ALL .toString ();
15331534
15341535 /**
15351536 * The bucket region header.
Original file line number Diff line number Diff line change 1818
1919package org .apache .hadoop .fs .s3a ;
2020
21- import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
2221import software .amazon .awssdk .services .s3 .model .CommonPrefix ;
2322import software .amazon .awssdk .services .s3 .model .S3Object ;
2423
2928import org .apache .hadoop .fs .Path ;
3029import org .apache .hadoop .fs .PathFilter ;
3130import org .apache .hadoop .fs .RemoteIterator ;
31+ import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
3232import org .apache .hadoop .fs .s3a .impl .AbstractStoreOperation ;
3333import org .apache .hadoop .fs .s3a .impl .ListingOperationCallbacks ;
3434import org .apache .hadoop .fs .s3a .impl .StoreContext ;
Original file line number Diff line number Diff line change 5252import java .util .concurrent .atomic .AtomicBoolean ;
5353import javax .annotation .Nullable ;
5454
55- import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
5655import software .amazon .awssdk .core .ResponseInputStream ;
5756import software .amazon .awssdk .core .exception .SdkException ;
5857import software .amazon .awssdk .services .s3 .S3AsyncClient ;
114113import org .apache .hadoop .fs .Options ;
115114import org .apache .hadoop .fs .impl .OpenFileParameters ;
116115import org .apache .hadoop .fs .permission .FsAction ;
116+ import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
117117import org .apache .hadoop .fs .s3a .audit .AuditSpanS3A ;
118118import org .apache .hadoop .fs .s3a .auth .SignerManager ;
119119import org .apache .hadoop .fs .s3a .auth .delegation .DelegationOperations ;
Original file line number Diff line number Diff line change 1818
1919package org .apache .hadoop .fs .s3a .api ;
2020
21- import org .apache .hadoop .fs .s3a .S3AFileSystem ;
22- import org .apache .hadoop .thirdparty .com .google .common .collect .Sets ;
2321import java .util .Set ;
2422import java .util .function .Function ;
23+
2524import software .amazon .awssdk .services .s3 .model .ObjectStorageClass ;
2625import software .amazon .awssdk .services .s3 .model .S3Object ;
2726
27+ import org .apache .hadoop .fs .s3a .S3AFileSystem ;
28+ import org .apache .hadoop .thirdparty .com .google .common .collect .Sets ;
29+
2830
2931/**
3032 * <pre>
Original file line number Diff line number Diff line change 3232import org .apache .hadoop .conf .Configuration ;
3333import org .apache .hadoop .fs .Path ;
3434import org .apache .hadoop .fs .s3a .api .RequestFactory ;
35+ import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
3536import org .apache .hadoop .fs .s3a .audit .AuditSpanS3A ;
3637import org .apache .hadoop .fs .s3a .Invoker ;
3738import org .apache .hadoop .fs .s3a .S3AFileStatus ;
3839import org .apache .hadoop .fs .s3a .S3AInputPolicy ;
3940import org .apache .hadoop .fs .s3a .S3AStorageStatistics ;
40- import org .apache .hadoop .fs .s3a .api .S3ObjectStorageClassFilter ;
4141import org .apache .hadoop .fs .s3a .Statistic ;
4242import org .apache .hadoop .fs .s3a .statistics .S3AStatisticsContext ;
4343import org .apache .hadoop .fs .store .audit .ActiveThreadSpanSource ;
Original file line number Diff line number Diff line change @@ -90,9 +90,7 @@ private FileSystem createFiles(String s3ObjectStorageClassFilter) throws Throwab
9090 contract .init ();
9191
9292 FileSystem fs = contract .getTestFileSystem ();
93- Path dir = methodPath ();
94- fs .mkdirs (dir );
95- Path path = new Path (dir , "glaciated" );
93+ Path path = new Path (methodPath (), "glaciated" );
9694 ContractTestUtils .touch (fs , path );
9795 return fs ;
9896 }
You can’t perform that action at this time.
0 commit comments