Uses of Enum Class
org.apache.hadoop.hdfs.server.common.Storage.StorageState
Packages that use Storage.StorageState
-
Uses of Storage.StorageState in org.apache.hadoop.hdfs.server.common
Methods in org.apache.hadoop.hdfs.server.common that return Storage.StorageStateModifier and TypeMethodDescriptionStorage.StorageDirectory.analyzeStorage(HdfsServerConstants.StartupOption startOpt, Storage storage) Check consistency of the storage directory.Storage.StorageDirectory.analyzeStorage(HdfsServerConstants.StartupOption startOpt, Storage storage, boolean checkCurrentIsEmpty) Check consistency of the storage directory.static Storage.StorageStateReturns the enum constant of this class with the specified name.static Storage.StorageState[]Storage.StorageState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hdfs.server.common with parameters of type Storage.StorageStateModifier and TypeMethodDescriptionvoidStorage.StorageDirectory.doRecover(Storage.StorageState curState) Complete or recover storage state from previously failed transition. -
Uses of Storage.StorageState in org.apache.hadoop.hdfs.server.namenode
Method parameters in org.apache.hadoop.hdfs.server.namenode with type arguments of type Storage.StorageStateModifier and TypeMethodDescriptionstatic booleanFSImage.recoverStorageDirs(HdfsServerConstants.StartupOption startOpt, NNStorage storage, Map<Storage.StorageDirectory, Storage.StorageState> dataDirStates) For each storage directory, performs recovery of incomplete transitions (eg. upgrade, rollback, checkpoint) and inserts the directory's storage state into the dataDirStates map.