| Package | Description |
|---|---|
| org.apache.hadoop.fs.azurebfs |
A distributed implementation of
FileSystem for reading and writing files on
Azure Storage. |
| org.apache.hadoop.fs.azurebfs.contracts.exceptions | |
| org.apache.hadoop.fs.azurebfs.services |
| Modifier and Type | Method and Description |
|---|---|
static void |
AzureBlobFileSystem.checkException(org.apache.hadoop.fs.Path path,
AzureBlobFileSystemException exception,
AzureServiceErrorCode... allowedErrorCodesList)
Given a path and exception, choose which IOException subclass
to create.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AzureBlobFileSystemStore.access(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.permission.FsAction mode,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.breakLease(org.apache.hadoop.fs.Path path,
TracingContext tracingContext)
Break any current lease on an ABFS file.
|
void |
AzureBlobFileSystemStore.createFilesystem(TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.delete(org.apache.hadoop.fs.Path path,
boolean recursive,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.deleteFilesystem(TracingContext tracingContext) |
Hashtable<String,String> |
AzureBlobFileSystemStore.getFilesystemProperties(TracingContext tracingContext) |
boolean |
AzureBlobFileSystemStore.getIsNamespaceEnabled(TracingContext tracingContext)
Resolves namespace information of the filesystem from the state of
AzureBlobFileSystemStore.isNamespaceEnabled. |
SASTokenProvider |
AbfsConfiguration.getSASTokenProvider()
Returns the SASTokenProvider implementation to be used to generate SAS token.
Users can choose between a custom implementation of SASTokenProvider
or an in house implementation FixedSASTokenProvider.For Custom implementation "fs.azure.sas.token.provider.type" needs to be provided. For Fixed SAS Token use "fs.azure.sas.fixed.token" needs to be provided. In case both are provided, Preference will be given to Custom implementation. Avoid using a custom tokenProvider implementation just to read the configured fixed token, as this could create confusion. |
String |
AbfsConfiguration.getStorageAccountKey() |
void |
AzureBlobFileSystemStore.modifyAclEntries(org.apache.hadoop.fs.Path path,
List<org.apache.hadoop.fs.permission.AclEntry> aclSpec,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.removeAcl(org.apache.hadoop.fs.Path path,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.removeAclEntries(org.apache.hadoop.fs.Path path,
List<org.apache.hadoop.fs.permission.AclEntry> aclSpec,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.removeDefaultAcl(org.apache.hadoop.fs.Path path,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.setAcl(org.apache.hadoop.fs.Path path,
List<org.apache.hadoop.fs.permission.AclEntry> aclSpec,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.setFilesystemProperties(Hashtable<String,String> properties,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.setOwner(org.apache.hadoop.fs.Path path,
String owner,
String group,
TracingContext tracingContext) |
void |
AzureBlobFileSystemStore.setPermission(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.permission.FsPermission permission,
TracingContext tracingContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbfsDriverException
Exception to be thrown if any Runtime Exception occurs.
|
class |
AbfsInvalidChecksumException
Exception to wrap invalid checksum verification on client side.
|
class |
AbfsRestOperationException
Exception to wrap Azure service error responses.
|
class |
ConcurrentWriteOperationDetectedException
Thrown when a concurrent write operation is detected.
|
class |
ConfigurationPropertyNotFoundException
Thrown when a searched for element is not found
|
class |
FileSystemOperationUnhandledException
Thrown when an unhandled exception is occurred during a file system operation.
|
class |
InvalidAbfsRestOperationException
Exception to wrap invalid Azure service error responses and exceptions
raised on network IO.
|
class |
InvalidAclOperationException
Thrown when there is an attempt to perform an invalid operation on an ACL.
|
class |
InvalidConfigurationValueException
Thrown when a configuration value is invalid
|
class |
InvalidFileSystemPropertyException
Thrown when a file system property is invalid.
|
class |
InvalidUriAuthorityException
Thrown when URI authority is invalid.
|
class |
InvalidUriException
Thrown when URI is invalid.
|
class |
KeyProviderException
Thrown if there is a problem instantiating a KeyProvider or retrieving a key
using a KeyProvider object.
|
class |
SASTokenProviderException
Thrown if there is an error instantiating the SASTokenProvider or getting
a SAS token.
|
class |
TimeoutException
Thrown when a timeout happens.
|
class |
TokenAccessProviderException
Thrown if there is a problem instantiating a TokenAccessProvider or retrieving a configuration
using a TokenAccessProvider object.
|
class |
TrileanConversionException
Thrown when tried to convert Trilean.UNKNOWN to boolean.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AbfsLease.LeaseException |
| Modifier and Type | Method and Description |
|---|---|
AbfsRestOperation |
AbfsClient.acquireLease(String path,
int duration,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.append(String path,
byte[] buffer,
AppendRequestParameters reqParams,
String cachedSasToken,
ContextEncryptionAdapter contextEncryptionAdapter,
TracingContext tracingContext) |
boolean |
AbfsClient.appendSuccessCheckOp(AbfsRestOperation op,
String path,
long length,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.breakLease(String path,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.checkAccess(String path,
String rwx,
TracingContext tracingContext)
Talks to the server to check whether the permission specified in
the rwx parameter is present for the path specified in the path parameter.
|
AbfsRestOperation |
AbfsClient.createFilesystem(TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.createPath(String path,
boolean isFile,
boolean overwrite,
AzureBlobFileSystemStore.Permissions permissions,
boolean isAppendBlob,
String eTag,
ContextEncryptionAdapter contextEncryptionAdapter,
TracingContext tracingContext)
Method for calling createPath API to the backend.
|
protected URL |
AbfsClient.createRequestUrl(String path,
String query) |
AbfsRestOperation |
AbfsClient.deleteFilesystem(TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.deletePath(String path,
boolean recursive,
String continuation,
TracingContext tracingContext,
boolean isNamespaceEnabled) |
static Map<String,String> |
AbfsAclHelper.deserializeAclSpec(String aclSpecString) |
void |
AbfsRestOperation.execute(TracingContext tracingContext)
Execute a AbfsRestOperation.
|
AbfsRestOperation |
AbfsClient.flush(String path,
long position,
boolean retainUncommittedData,
boolean isClose,
String cachedSasToken,
String leaseId,
ContextEncryptionAdapter contextEncryptionAdapter,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.getAclStatus(String path,
boolean useUPN,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.getAclStatus(String path,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.getFilesystemProperties(TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.getPathStatus(String path,
boolean includeProperties,
TracingContext tracingContext,
ContextEncryptionAdapter contextEncryptionAdapter) |
static void |
AbfsAclHelper.modifyAclEntriesInternal(Map<String,String> aclEntries,
Map<String,String> toModifyEntries) |
AbfsRestOperation |
AbfsClient.read(String path,
long position,
byte[] buffer,
int bufferOffset,
int bufferLength,
String eTag,
String cachedSasToken,
ContextEncryptionAdapter contextEncryptionAdapter,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.releaseLease(String path,
String leaseId,
TracingContext tracingContext) |
static void |
AbfsAclHelper.removeAclEntriesInternal(Map<String,String> aclEntries,
Map<String,String> toRemoveEntries) |
AbfsRestOperation |
AbfsClient.renewLease(String path,
String leaseId,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.setAcl(String path,
String aclSpecString,
String eTag,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.setAcl(String path,
String aclSpecString,
TracingContext tracingContext) |
static void |
AbfsAclHelper.setAclEntriesInternal(Map<String,String> aclEntries,
Map<String,String> getAclEntries) |
AbfsRestOperation |
AbfsClient.setFilesystemProperties(String properties,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.setOwner(String path,
String owner,
String group,
TracingContext tracingContext) |
AbfsRestOperation |
AbfsClient.setPathProperties(String path,
String properties,
TracingContext tracingContext,
ContextEncryptionAdapter contextEncryptionAdapter) |
AbfsRestOperation |
AbfsClient.setPermission(String path,
String permission,
TracingContext tracingContext) |
static String |
AbfsClient.urlEncode(String value) |
| Constructor and Description |
|---|
AbfsLease(AbfsClient client,
String path,
int acquireMaxRetries,
int acquireRetryInterval,
TracingContext tracingContext) |
AbfsLease(AbfsClient client,
String path,
TracingContext tracingContext) |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.