org.apache.hadoop.hdfs.server.datanode
Interface FSDatasetInterface.FSVolumeInterface
- Enclosing interface:
- org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
public static interface FSDatasetInterface.FSVolumeInterface
This is an interface for the underlying volume.
- See Also:
FSDataset.FSVolume
getBlockPoolList
String[] getBlockPoolList()
- Returns:
- a list of block pools.
getAvailable
long getAvailable()
throws IOException
- Returns:
- the available storage space in bytes.
- Throws:
IOException
getDirectory
File getDirectory(String bpid)
throws IOException
- Returns:
- the directory for the block pool.
- Throws:
IOException
getFinalizedDir
File getFinalizedDir(String bpid)
throws IOException
- Returns:
- the directory for the finalized blocks in the block pool.
- Throws:
IOException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.