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