Uses of Enum Class
org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile
Packages that use NNStorage.NameNodeFile
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of NNStorage.NameNodeFile in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type NNStorage.NameNodeFileModifier and TypeMethodDescriptionlongNamenodeProtocolTranslatorPB.getMostRecentNameNodeFileTxId(NNStorage.NameNodeFile nnf) -
Uses of NNStorage.NameNodeFile in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return NNStorage.NameNodeFileModifier and TypeMethodDescriptionstatic NNStorage.NameNodeFileReturns the enum constant of this class with the specified name.static NNStorage.NameNodeFile[]NNStorage.NameNodeFile.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type NNStorage.NameNodeFileModifier and TypeMethodDescriptionNNStorage.getFsImageName(long txid, NNStorage.NameNodeFile nnf) longFSImage.getMostRecentNameNodeFileTxId(NNStorage.NameNodeFile nnf) Given a NameNodeFile type, retrieve the latest txid for that file orHdfsServerConstants.INVALID_TXIDif the file does not exist.longNameNodeRpcServer.getMostRecentNameNodeFileTxId(NNStorage.NameNodeFile nnf) voidFSImage.saveDigestAndRenameCheckpointImage(NNStorage.NameNodeFile nnf, long txid, org.apache.hadoop.io.MD5Hash digest) This is called by the 2NN after having downloaded an image, and by the NN after having received a new image from the 2NN.voidFSImage.saveNamespace(FSNamesystem source, NNStorage.NameNodeFile nnf, Canceler canceler) Save the contents of the FS image to a new image file in each of the current storage directories.TransferFsImage.uploadImageFromStorage(URL fsName, org.apache.hadoop.conf.Configuration conf, NNStorage storage, NNStorage.NameNodeFile nnf, long txid, Canceler canceler) Requests that the NameNode download an image from this node.Method parameters in org.apache.hadoop.hdfs.server.namenode with type arguments of type NNStorage.NameNodeFileModifier and TypeMethodDescriptionNNStorage.getFsImage(long txid, EnumSet<NNStorage.NameNodeFile> nnfs) -
Uses of NNStorage.NameNodeFile in org.apache.hadoop.hdfs.server.protocol
Methods in org.apache.hadoop.hdfs.server.protocol with parameters of type NNStorage.NameNodeFileModifier and TypeMethodDescriptionlongNamenodeProtocol.getMostRecentNameNodeFileTxId(NNStorage.NameNodeFile nnf) Get the transaction ID of the most recent checkpoint for the given NameNodeFile.