| Package | Description |
|---|---|
| org.apache.hadoop.fs.s3a.s3guard |
This package contains classes related to S3Guard: a feature of S3A to mask
the eventual consistency behavior of S3 and optimize access patterns by
coordinating with a strongly consistent external store for file system
metadata.
|
| Modifier and Type | Method and Description |
|---|---|
DirListingMetadata |
LocalMetadataEntry.getDirListingMeta() |
DirListingMetadata |
DynamoDBMetadataStore.listChildren(org.apache.hadoop.fs.Path path) |
DirListingMetadata |
NullMetadataStore.listChildren(org.apache.hadoop.fs.Path path) |
DirListingMetadata |
MetadataStore.listChildren(org.apache.hadoop.fs.Path path)
Lists metadata for all direct children of a path.
|
DirListingMetadata |
LocalMetadataStore.listChildren(org.apache.hadoop.fs.Path p) |
DirListingMetadata |
DirListingMetadata.withoutTombstones() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.FileStatus[] |
S3Guard.dirListingUnion(MetadataStore ms,
org.apache.hadoop.fs.Path path,
List<org.apache.hadoop.fs.FileStatus> backingStatuses,
DirListingMetadata dirMeta,
boolean isAuthoritative)
Given directory listing metadata from both the backing store and the
MetadataStore, merge the two sources of truth to create a consistent
view of the current directory contents, which can be returned to clients.
|
static org.apache.hadoop.fs.FileStatus[] |
S3Guard.dirMetaToStatuses(DirListingMetadata dirMeta)
Convert the data of a directory listing to an array of
FileStatus
entries. |
void |
DynamoDBMetadataStore.put(DirListingMetadata meta)
Save directory listing metadata.
|
void |
NullMetadataStore.put(DirListingMetadata meta) |
void |
MetadataStore.put(DirListingMetadata meta)
Save directory listing metadata.
|
void |
LocalMetadataStore.put(DirListingMetadata meta) |
void |
LocalMetadataEntry.setDirListingMetadata(DirListingMetadata dirListingMetadata) |
| Constructor and Description |
|---|
DirListingMetadata(DirListingMetadata d)
Copy constructor.
|
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.