Commit b025580
committed
HDFS-13934 Multipart Uploader APIa
This is ready to g in pending review and the final builder spec.
Specification:
* update the docs to all but the builder
* builder has interface/impl split; extends existing builder implementation
* FileContext support
* add an optional abortUploadsUnderPath(); invaluable for S3A.
Big rework of S3A implementation
* has new S3AMultipartUploaderStatistics interface (implementation from Instrumentation)
* factor WriteOperations interface out of WriteOperationsHelper and use that
* Found and fixed DDB s3guard bug which would fail with >1 file write to the same test. Doesn't show up in existing workflows, but you can upload two files to the same test, and then it surfaces.
Tests
* more!
Change-Id: I1b4aefef51141a53d755e96628d68cebf285f06c1 parent 89d35a1 commit b025580
File tree
23 files changed
+1369
-471
lines changed- hadoop-common-project/hadoop-common/src
- main/java/org/apache/hadoop/fs
- impl
- site/markdown/filesystem
- test/java/org/apache/hadoop/fs/contract
- hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs
- hadoop-tools/hadoop-aws/src
- main/java/org/apache/hadoop/fs/s3a
- impl
- statistics
- s3guard
- test/java/org/apache/hadoop/fs
- contract/s3a
- s3a/impl
23 files changed
+1369
-471
lines changedLines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1386 | 1416 | | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2957 | 2957 | | |
2958 | 2958 | | |
2959 | 2959 | | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
| 2968 | + | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
| 2975 | + | |
| 2976 | + | |
| 2977 | + | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
| 2984 | + | |
| 2985 | + | |
2960 | 2986 | | |
Lines changed: 34 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | 30 | | |
35 | 31 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 32 | + | |
43 | 33 | | |
44 | 34 | | |
45 | 35 | | |
| |||
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
55 | | - | |
| 45 | + | |
56 | 46 | | |
57 | 47 | | |
58 | 48 | | |
59 | 49 | | |
60 | 50 | | |
61 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
62 | 54 | | |
63 | 55 | | |
64 | | - | |
65 | | - | |
66 | 56 | | |
67 | 57 | | |
68 | 58 | | |
69 | 59 | | |
70 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
71 | 64 | | |
72 | | - | |
| 65 | + | |
73 | 66 | | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
77 | | - | |
| 70 | + | |
| 71 | + | |
78 | 72 | | |
79 | | - | |
80 | | - | |
| 73 | + | |
81 | 74 | | |
82 | 75 | | |
83 | 76 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
87 | 81 | | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
91 | | - | |
92 | | - | |
| 85 | + | |
| 86 | + | |
93 | 87 | | |
94 | | - | |
| 88 | + | |
95 | 89 | | |
96 | | - | |
97 | | - | |
| 90 | + | |
98 | 91 | | |
99 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
0 commit comments