Uses of Class
org.apache.hadoop.hdfs.StorageType

Packages that use StorageType
org.apache.hadoop.hdfs A distributed implementation of FileSystem
org.apache.hadoop.hdfs.protocolPB   
org.apache.hadoop.hdfs.server.balancer   
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
           
static StorageType[] StorageType.EMPTY_ARRAY
           
 

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.
 

Methods in org.apache.hadoop.hdfs that return types with arguments of type StorageType
static List<StorageType> StorageType.asList()
           
static List<StorageType> StorageType.getMovableTypes()
           
 

Uses of StorageType in org.apache.hadoop.hdfs.protocolPB
 

Methods in org.apache.hadoop.hdfs.protocolPB that return StorageType
static StorageType PBHelper.convertStorageType(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto type)
           
static StorageType[] PBHelper.convertStorageTypes(List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto> storageTypesList, int expectedSize)
           
 

Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type StorageType
static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto PBHelper.convert(StorageType[] types)
           
static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto PBHelper.convertStorageType(StorageType type)
           
static List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto> PBHelper.convertStorageTypes(StorageType[] types)
           
static List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto> PBHelper.convertStorageTypes(StorageType[] types, int startIdx)
           
 

Uses of StorageType in org.apache.hadoop.hdfs.server.balancer
 

Methods in org.apache.hadoop.hdfs.server.balancer that return StorageType
 StorageType Dispatcher.DDatanode.StorageGroup.getStorageType()
           
 

Methods in org.apache.hadoop.hdfs.server.balancer with parameters of type StorageType
 Dispatcher.Source Dispatcher.DDatanode.addSource(StorageType storageType, long maxSize2Move, org.apache.hadoop.hdfs.server.balancer.Dispatcher d)
           
 Dispatcher.DDatanode.StorageGroup Dispatcher.DDatanode.addTarget(StorageType storageType, long maxSize2Move)
           
 G Dispatcher.StorageGroupMap.get(String datanodeUuid, StorageType storageType)
           
 

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)
           
 

Method parameters in org.apache.hadoop.hdfs.server.blockmanagement with type arguments 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, EnumMap<StorageType,Integer> storageTypes)
           
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, EnumMap<StorageType,Integer> storageTypes, boolean fallbackToLocalRack)
          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, EnumMap<StorageType,Integer> storageTypes)
          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)
           
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.