Uses of Enum Class org.apache.hadoop.hdfs.server.common.Storage.StorageState (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.common, class: Storage, enum: StorageState

# Uses of Enum Class
org.apache.hadoop.hdfs.server.common.Storage.StorageState

Packages that use Storage.StorageState
Package
Description
org.apache.hadoop.hdfs.server.common
org.apache.hadoop.hdfs.server.namenode

- ## Uses of Storage.StorageState in org.apache.hadoop.hdfs.server.common

  Methods in org.apache.hadoop.hdfs.server.common that return Storage.StorageState
  Modifier and Type
  Method
  Description
  `Storage.StorageState`
  Storage.StorageDirectory.`analyzeStorage(HdfsServerConstants.StartupOption startOpt, Storage storage)`
  Check consistency of the storage directory.
  `Storage.StorageState`
  Storage.StorageDirectory.`analyzeStorage(HdfsServerConstants.StartupOption startOpt, Storage storage, boolean checkCurrentIsEmpty)`
  Check consistency of the storage directory.
  `static Storage.StorageState`
  Storage.StorageState.`valueOf(String name)`
  Returns 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.StorageState
  Modifier and Type
  Method
  Description
  `void`
  Storage.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.StorageState
  Modifier and Type
  Method
  Description
  `static boolean`
  FSImage.`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.