Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.fs.viewfs |
Modifier and Type | Method and Description |
---|---|
BlockStoragePolicySpi |
FileContext.getStoragePolicy(Path path)
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FileSystem.getStoragePolicy(Path src)
Query the effective storage policy ID for the given file or directory.
|
BlockStoragePolicySpi |
FilterFileSystem.getStoragePolicy(Path src) |
BlockStoragePolicySpi |
AbstractFileSystem.getStoragePolicy(Path src)
Retrieve the storage policy for a given file or directory.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends BlockStoragePolicySpi> |
FileContext.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> |
FilterFileSystem.getAllStoragePolicies() |
Collection<? extends BlockStoragePolicySpi> |
AbstractFileSystem.getAllStoragePolicies()
Retrieve all the storage policies supported by this file system.
|
Modifier and Type | Method and Description |
---|---|
BlockStoragePolicySpi |
ViewFs.getStoragePolicy(Path src)
Retrieve the storage policy for a given file or directory.
|
Copyright © 2019 Apache Software Foundation. All rights reserved.