Uses of Enum Class
org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption
Packages that use HdfsServerConstants.StartupOption
-
Uses of HdfsServerConstants.StartupOption in org.apache.hadoop.hdfs.server.common
Methods in org.apache.hadoop.hdfs.server.common that return HdfsServerConstants.StartupOptionModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static HdfsServerConstants.StartupOption[]HdfsServerConstants.StartupOption.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 HdfsServerConstants.StartupOptionModifier 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.booleanHdfsServerConstants.RollingUpgradeStartupOption.matches(HdfsServerConstants.StartupOption option) -
Uses of HdfsServerConstants.StartupOption in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return HdfsServerConstants.StartupOptionModifier and TypeMethodDescriptionNameNode.getStartupOption(org.apache.hadoop.conf.Configuration conf) Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type HdfsServerConstants.StartupOptionModifier and TypeMethodDescriptionvoidFSImage.initEditLog(HdfsServerConstants.StartupOption startOpt) longFSImage.loadEdits(Iterable<EditLogInputStream> editStreams, FSNamesystem target, long maxTxnsToRead, HdfsServerConstants.StartupOption startOpt, MetaRecoveryContext recovery) static 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.