@InterfaceAudience.Private @InterfaceStability.Unstable public final class S3Guard extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allowAuthoritative(org.apache.hadoop.fs.Path p,
S3AFileSystem fs,
Collection<String> authPaths)
Is the path for the given FS instance authoritative?
|
static boolean |
checkNoS3Guard(URI fsURI,
org.apache.hadoop.conf.Configuration conf)
Assert that the FS is not configured to use an unsupported S3Guard
option.
|
static Collection<String> |
getAuthoritativePaths(S3AFileSystem fs) |
public static boolean checkNoS3Guard(URI fsURI, org.apache.hadoop.conf.Configuration conf) throws org.apache.hadoop.fs.PathIOException
fsURI - FileSystem URIconf - configurationorg.apache.hadoop.fs.PathIOException - if an unsupported metastore was found.public static Collection<String> getAuthoritativePaths(S3AFileSystem fs)
public static boolean allowAuthoritative(org.apache.hadoop.fs.Path p,
S3AFileSystem fs,
Collection<String> authPaths)
p - pathfs - filesystemauthPaths - possibly empty list of authoritative pathsCopyright © 2008–2024 Apache Software Foundation. All rights reserved.