Commit 9c8e753
committed
HADOOP-19354. S3A: Create S3 InputStreams via a factory
S3 InputStreams are created by a factory class, with the
choice of factory dynamically chosen by the option
fs.s3a.input.stream.type
Supported values: classic, prefetching, analytics.
S3AStore
* Manages the creation and service lifecycle of the chosen factory,
as well as forwarding stream construction requests to the chosen factory.
* Provides the callbacks needed by both the factories and input streams.
* StreamCapabilities.hasCapability(), which is
relayed to the active factory. This avoids the FS having
to know what capabilities are available in the stream.1 parent f38d707 commit 9c8e753
File tree
46 files changed
+2146
-706
lines changed- hadoop-tools/hadoop-aws
- dev-support
- src
- main/java/org/apache/hadoop/fs/s3a
- impl
- streams
- prefetch
- site/markdown/tools/hadoop-aws
- test
- java/org/apache/hadoop/fs
- contract/s3a
- s3a
- impl
- performance
- prefetch
- scale
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+2146
-706
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
1580 | 1582 | | |
1581 | 1583 | | |
1582 | 1584 | | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1583 | 1613 | | |
1584 | 1614 | | |
1585 | 1615 | | |
| |||
0 commit comments