Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.fs.viewfs |
ViewFileSystem and ViewFileSystemOverloadScheme classes.
|
org.apache.hadoop.hdfs.client |
This package provides the administrative APIs for HDFS.
|
Modifier and Type | Method and Description |
---|---|
BlockStoragePolicySpi |
AbstractFileSystem.getStoragePolicy(Path src)
Retrieve the storage policy for a given file or directory.
|
BlockStoragePolicySpi |
FileSystem.getStoragePolicy(Path src)
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FileContext.getStoragePolicy(Path path)
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FilterFileSystem.getStoragePolicy(Path src) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends BlockStoragePolicySpi> |
AbstractFileSystem.getAllStoragePolicies()
Retrieve all the storage policies supported by this file system.
|
Collection<? extends BlockStoragePolicySpi> |
FileSystem.getAllStoragePolicies()
Retrieve all the storage policies supported by this file system.
|
Collection<? extends BlockStoragePolicySpi> |
FileContext.getAllStoragePolicies()
Retrieve all the storage policies supported by this file system.
|
Collection<? extends BlockStoragePolicySpi> |
FilterFileSystem.getAllStoragePolicies() |
Modifier and Type | Method and Description |
---|---|
BlockStoragePolicySpi |
ViewFileSystem.getStoragePolicy(Path src) |
BlockStoragePolicySpi |
ViewFs.getStoragePolicy(Path src)
Retrieve the storage policy for a given file or directory.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends BlockStoragePolicySpi> |
ViewFileSystem.getAllStoragePolicies() |
Modifier and Type | Method and Description |
---|---|
BlockStoragePolicySpi |
HdfsAdmin.getStoragePolicy(Path src)
Query the effective storage policy ID for the given file or directory.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends BlockStoragePolicySpi> |
HdfsAdmin.getAllStoragePolicies()
Retrieve all the storage policies supported by HDFS file system.
|
Copyright © 2023 Apache Software Foundation. All rights reserved.