Uses of Class
org.apache.hadoop.hdfs.server.common.Storage
Packages that use Storage
Package
Description
-
Uses of Storage in org.apache.hadoop.hdfs.qjournal.client
Methods in org.apache.hadoop.hdfs.qjournal.client with parameters of type Storage -
Uses of Storage in org.apache.hadoop.hdfs.server.common
Methods in org.apache.hadoop.hdfs.server.common with parameters of type StorageModifier 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 org.apache.hadoop.io.MD5HashUtil.doGetUrl(URL url, List<File> localPaths, Storage dstStorage, boolean getChecksum, int timeout, DataTransferThrottler throttler) Downloads the files at the specified url location into destination storage.voidstatic org.apache.hadoop.io.MD5HashUtil.receiveFile(String url, List<File> localPaths, Storage dstStorage, boolean getChecksum, long advertisedSize, org.apache.hadoop.io.MD5Hash advertisedDigest, String fsImageName, InputStream stream, DataTransferThrottler throttler) Receives file at the url location from the input stream and puts them in the specified destination storage location. -
Uses of Storage in org.apache.hadoop.hdfs.server.datanode
Subclasses of Storage in org.apache.hadoop.hdfs.server.datanodeModifier and TypeClassDescriptionclassManages storage for the set of BlockPoolSlices which share a particular block pool id, on this DataNode.classData storage information file. -
Uses of Storage in org.apache.hadoop.hdfs.server.namenode
Subclasses of Storage in org.apache.hadoop.hdfs.server.namenodeModifier and TypeClassDescriptionclassNNStorage is responsible for management of the StorageDirectories used by the NameNode.Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type StorageModifier and TypeMethodDescriptionstatic org.apache.hadoop.io.MD5HashvoidThis method assumes that the fields of theStorageobject have already been updated to the appropriate new values for the upgrade.voidPerform the actual upgrade of the JM.voidstatic voidNNUpgradeUtil.doUpgrade(Storage.StorageDirectory sd, Storage storage) Perform the upgrade of the storage dir to the given storage info.static org.apache.hadoop.io.MD5HashTransferFsImage.downloadImageToStorage(URL fsName, long imageTxId, Storage dstStorage, boolean needDigest, boolean isBootstrapStandby)