|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Storage.StorageDirectory | |
---|---|
org.apache.hadoop.hdfs.server.common | |
org.apache.hadoop.hdfs.server.datanode | |
org.apache.hadoop.hdfs.server.namenode |
Uses of Storage.StorageDirectory in org.apache.hadoop.hdfs.server.common |
---|
Fields in org.apache.hadoop.hdfs.server.common with type parameters of type Storage.StorageDirectory | |
---|---|
protected List<Storage.StorageDirectory> |
Storage.storageDirs
|
Methods in org.apache.hadoop.hdfs.server.common that return Storage.StorageDirectory | |
---|---|
Storage.StorageDirectory |
Storage.getStorageDir(int idx)
|
Methods in org.apache.hadoop.hdfs.server.common that return types with arguments of type Storage.StorageDirectory | |
---|---|
Iterator<Storage.StorageDirectory> |
Storage.dirIterator()
Return default iterator This iterator returns all entries in storageDirs |
Iterator<Storage.StorageDirectory> |
Storage.dirIterator(Storage.StorageDirType dirType)
Return iterator based on Storage Directory Type This iterator selects entries in storageDirs of type dirType and returns them via the Iterator |
Methods in org.apache.hadoop.hdfs.server.common with parameters of type Storage.StorageDirectory | |
---|---|
protected void |
Storage.addStorageDir(Storage.StorageDirectory sd)
|
protected void |
Storage.getFields(Properties props,
Storage.StorageDirectory sd)
Get common storage fields. |
abstract boolean |
Storage.isConversionNeeded(Storage.StorageDirectory sd)
|
protected void |
Storage.setFields(Properties props,
Storage.StorageDirectory sd)
Set common storage fields. |
Uses of Storage.StorageDirectory in org.apache.hadoop.hdfs.server.datanode |
---|
Methods in org.apache.hadoop.hdfs.server.datanode with parameters of type Storage.StorageDirectory | |
---|---|
protected void |
DataStorage.getFields(Properties props,
Storage.StorageDirectory sd)
|
boolean |
DataStorage.isConversionNeeded(Storage.StorageDirectory sd)
|
protected void |
DataStorage.setFields(Properties props,
Storage.StorageDirectory sd)
|
Uses of Storage.StorageDirectory in org.apache.hadoop.hdfs.server.namenode |
---|
Fields in org.apache.hadoop.hdfs.server.namenode with type parameters of type Storage.StorageDirectory | |
---|---|
protected List<Storage.StorageDirectory> |
FSImage.removedStorageDirs
list of failed (and thus removed) storages |
Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type Storage.StorageDirectory | |
---|---|
protected void |
FSImage.getFields(Properties props,
Storage.StorageDirectory sd)
|
boolean |
BackupStorage.isConversionNeeded(Storage.StorageDirectory sd)
|
boolean |
FSImage.isConversionNeeded(Storage.StorageDirectory sd)
|
protected void |
FSImage.moveCurrent(Storage.StorageDirectory sd)
Move current to lastcheckpoint.tmp and
recreate empty current . |
protected void |
FSImage.moveLastCheckpoint(Storage.StorageDirectory sd)
Move lastcheckpoint.tmp to previous.checkpoint |
protected void |
FSImage.saveCurrent(Storage.StorageDirectory sd)
Save current image and empty journal into current directory. |
protected void |
FSImage.setFields(Properties props,
Storage.StorageDirectory sd)
Write last checkpoint time and version file into the storage directory. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |