Commit d43e7ce
committed
HADOOP-18820. Cut AWS v1 support (apache#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
This patch (unlike the feature branch) does not have an
enforcer rule to reject use of com.amazonaws classes; yetus
was rejecting it.
Change-Id: I854fc5d8707016a87a1321e46c1f0ad726ceff3a1 parent d2eade0 commit d43e7ce
File tree
70 files changed
+2296
-1211
lines changed- hadoop-common-project/hadoop-common/src/main/resources
- hadoop-project
- hadoop-tools/hadoop-aws
- dev-support
- src
- main/java/org/apache/hadoop/fs/s3a
- adapter
- api
- audit/impl
- auth
- delegation
- impl
- site/markdown/tools/hadoop-aws
- test/java/org/apache/hadoop/fs/s3a
- adapter
- audit
- auth
- delegation
- commit
- performance
- scale
- select
- statistics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+2296
-1211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
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 | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
1132 | 1133 | | |
1133 | 1134 | | |
1134 | 1135 | | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1135 | 1142 | | |
1136 | 1143 | | |
1137 | 1144 | | |
1138 | 1145 | | |
1139 | 1146 | | |
1140 | 1147 | | |
1141 | 1148 | | |
1142 | | - | |
| 1149 | + | |
1143 | 1150 | | |
1144 | 1151 | | |
1145 | 1152 | | |
1146 | 1153 | | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
1147 | 1159 | | |
1148 | 1160 | | |
1149 | 1161 | | |
| |||
| 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 | | |
500 | | - | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
507 | 511 | | |
508 | 512 | | |
509 | 513 | | |
510 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
| |||
Lines changed: 14 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
| 34 | + | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
| 40 | + | |
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
51 | | - | |
52 | 45 | | |
53 | 46 | | |
54 | 47 | | |
| |||
106 | 99 | | |
107 | 100 | | |
108 | 101 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 102 | + | |
| 103 | + | |
126 | 104 | | |
127 | 105 | | |
128 | 106 | | |
| |||
148 | 126 | | |
149 | 127 | | |
150 | 128 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 129 | | |
160 | 130 | | |
161 | 131 | | |
| |||
164 | 134 | | |
165 | 135 | | |
166 | 136 | | |
167 | | - | |
168 | 137 | | |
169 | 138 | | |
170 | 139 | | |
| |||
174 | 143 | | |
175 | 144 | | |
176 | 145 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| 146 | + | |
| 147 | + | |
180 | 148 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 149 | + | |
| 150 | + | |
190 | 151 | | |
191 | 152 | | |
192 | 153 | | |
| |||
257 | 218 | | |
258 | 219 | | |
259 | 220 | | |
260 | | - | |
261 | | - | |
| 221 | + | |
262 | 222 | | |
263 | 223 | | |
264 | 224 | | |
| |||
290 | 250 | | |
291 | 251 | | |
292 | 252 | | |
293 | | - | |
294 | | - | |
295 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
296 | 258 | | |
297 | 259 | | |
298 | 260 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
741 | 745 | | |
742 | 746 | | |
743 | 747 | | |
744 | 748 | | |
745 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
746 | 754 | | |
747 | 755 | | |
748 | 756 | | |
| |||
0 commit comments