Commit 77a75cc
HADOOP-18073. Upgrade AWS SDK to v2 in S3A
This is an aggregate patch of the changes from
feature-HADOOP-18073-s3a-sdk-upgrade
and moves the S3A connector to to using the V2 AWS SDK
This is a major change: See aws_sdk_v2_changelog.md for details.
A new shaded v2 SDK JAR "bundle.jar" needs to be distributed
with the connector to interact with S3 stores
All code which was using the V1 SDK classes with the S3AFileSystem
will need upgrading.
Contributed by Ahmar Suhail
HADOOP-18820. Cut AWS v1 support (#5872)
This removes the AWS V1 SDK as a hadoop-aws runtime dependency.
It is still used at compile time so as to build a wrapper class
V1ToV2AwsCredentialProviderAdapter which allows v1 credential provider
to be used for authentication.
All well known credential providers have their classname remapped from
v1 to v2 classes prior to instantiation; this wrapper is not needed
for them.
There is no support for migrating other SDK plugin points
(signing, handlers)
Access to the v2 S3Client class used by an S3A FileSystem
instance is now via a new interface org.apache.hadoop.fs.s3a.S3AInternals;
other low-level operations (getObjectMetadata(Path)) have moved.
Contributed by Steve Loughran
HADOOP-18853. Upgrade AWS SDK version to 2.20.28 (#5960)
Upgrades the AWS sdk v2 version to 2.20.28
This
* adds multipart COPY/rename in the java async client
* removes the aws-crt JAR dependency
Contributed by Ahmar Suhail
HADOOP-18818. Merge aws v2 upgrade feature branch into trunk
Contains HADOOP-18863. AWS SDK V2 - AuditFailureExceptions aren't
being translated properly
Change-Id: I96b26cc1ee535c519248ca6541fb157017dcc7e41 parent 01cc6d0 commit 77a75cc
205 files changed
Lines changed: 8988 additions & 5898 deletions
File tree
- hadoop-common-project/hadoop-common/src/main
- java/org/apache/hadoop/fs/statistics
- resources
- hadoop-project
- hadoop-tools/hadoop-aws
- dev-support
- src
- main/java/org/apache/hadoop/fs/s3a
- adapter
- api
- audit
- impl
- auth
- delegation
- commit
- files
- impl
- magic
- impl
- prefetch
- s3guard
- select
- statistics/impl
- tools
- site/markdown/tools/hadoop-aws
- test/java/org/apache/hadoop/fs/s3a
- adapter
- audit
- auth
- delegation
- commit
- staging
- fileContext
- impl
- performance
- prefetch
- scale
- select
- statistics
- test
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
367 | 368 | | |
368 | 369 | | |
369 | 370 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
| |||
Lines changed: 11 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1390 | 1397 | | |
1391 | 1398 | | |
1392 | 1399 | | |
1393 | 1400 | | |
1394 | 1401 | | |
1395 | | - | |
| 1402 | + | |
1396 | 1403 | | |
1397 | 1404 | | |
1398 | 1405 | | |
1399 | 1406 | | |
1400 | | - | |
| 1407 | + | |
1401 | 1408 | | |
1402 | 1409 | | |
1403 | 1410 | | |
1404 | 1411 | | |
1405 | 1412 | | |
1406 | 1413 | | |
1407 | 1414 | | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | | - | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | 1415 | | |
1446 | 1416 | | |
1447 | 1417 | | |
| |||
1539 | 1509 | | |
1540 | 1510 | | |
1541 | 1511 | | |
1542 | | - | |
| 1512 | + | |
1543 | 1513 | | |
1544 | 1514 | | |
1545 | | - | |
| 1515 | + | |
1546 | 1516 | | |
1547 | 1517 | | |
1548 | 1518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
1128 | 1130 | | |
1129 | 1131 | | |
1130 | 1132 | | |
1131 | | - | |
| 1133 | + | |
1132 | 1134 | | |
1133 | 1135 | | |
1134 | 1136 | | |
1135 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1136 | 1149 | | |
1137 | 1150 | | |
1138 | 1151 | | |
1139 | 1152 | | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1140 | 1158 | | |
1141 | 1159 | | |
1142 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
497 | 501 | | |
498 | 502 | | |
499 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
500 | 509 | | |
501 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
502 | 516 | | |
503 | 517 | | |
504 | 518 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
0 commit comments