|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StorageType | |
|---|---|
| org.apache.hadoop.hdfs | A distributed implementation of FileSystem. |
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.datanode.fsdataset | |
| org.apache.hadoop.hdfs.server.protocol | |
| Uses of StorageType in org.apache.hadoop.hdfs |
|---|
| Fields in org.apache.hadoop.hdfs declared as StorageType | |
|---|---|
static StorageType |
StorageType.DEFAULT
|
| Methods in org.apache.hadoop.hdfs that return StorageType | |
|---|---|
static StorageType |
StorageType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StorageType[] |
StorageType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Uses of StorageType in org.apache.hadoop.hdfs.server.blockmanagement |
|---|
| Methods in org.apache.hadoop.hdfs.server.blockmanagement that return StorageType | |
|---|---|
static StorageType[] |
DatanodeStorageInfo.toStorageTypes(DatanodeStorageInfo[] storages)
|
| Methods in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type StorageType | |
|---|---|
protected DatanodeStorageInfo |
BlockPlacementPolicyWithNodeGroup.chooseLocalRack(org.apache.hadoop.net.Node localMachine,
Set<org.apache.hadoop.net.Node> excludedNodes,
long blocksize,
int maxNodesPerRack,
List<DatanodeStorageInfo> results,
boolean avoidStaleNodes,
StorageType storageType)
|
protected DatanodeStorageInfo |
BlockPlacementPolicyWithNodeGroup.chooseLocalStorage(org.apache.hadoop.net.Node localMachine,
Set<org.apache.hadoop.net.Node> excludedNodes,
long blocksize,
int maxNodesPerRack,
List<DatanodeStorageInfo> results,
boolean avoidStaleNodes,
StorageType storageType)
choose local node of localMachine as the target. |
protected void |
BlockPlacementPolicyWithNodeGroup.chooseRemoteRack(int numOfReplicas,
org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor localMachine,
Set<org.apache.hadoop.net.Node> excludedNodes,
long blocksize,
int maxReplicasPerRack,
List<DatanodeStorageInfo> results,
boolean avoidStaleNodes,
StorageType storageType)
Choose numOfReplicas nodes from the racks that localMachine is NOT on. |
| Uses of StorageType in org.apache.hadoop.hdfs.server.datanode.fsdataset |
|---|
| Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset that return StorageType | |
|---|---|
StorageType |
FsVolumeSpi.getStorageType()
|
| Uses of StorageType in org.apache.hadoop.hdfs.server.protocol |
|---|
| Methods in org.apache.hadoop.hdfs.server.protocol that return StorageType | |
|---|---|
StorageType |
DatanodeStorage.getStorageType()
|
| Constructors in org.apache.hadoop.hdfs.server.protocol with parameters of type StorageType | |
|---|---|
DatanodeStorage(String sid,
DatanodeStorage.State s,
StorageType sm)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||