@InterfaceAudience.Private @InterfaceStability.Unstable @Deprecated public interface FileSystemStore
Modifier and Type | Method and Description |
---|---|
boolean |
blockExists(long blockId)
Deprecated.
|
void |
deleteBlock(Block block)
Deprecated.
|
void |
deleteINode(org.apache.hadoop.fs.Path path)
Deprecated.
|
void |
dump()
Deprecated.
Diagnostic method to dump all INodes to the console.
|
String |
getVersion()
Deprecated.
|
void |
initialize(URI uri,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
boolean |
inodeExists(org.apache.hadoop.fs.Path path)
Deprecated.
|
Set<org.apache.hadoop.fs.Path> |
listDeepSubPaths(org.apache.hadoop.fs.Path path)
Deprecated.
|
Set<org.apache.hadoop.fs.Path> |
listSubPaths(org.apache.hadoop.fs.Path path)
Deprecated.
|
void |
purge()
Deprecated.
Delete everything.
|
File |
retrieveBlock(Block block,
long byteRangeStart)
Deprecated.
|
INode |
retrieveINode(org.apache.hadoop.fs.Path path)
Deprecated.
|
void |
storeBlock(Block block,
File file)
Deprecated.
|
void |
storeINode(org.apache.hadoop.fs.Path path,
INode inode)
Deprecated.
|
void initialize(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
String getVersion() throws IOException
IOException
void storeINode(org.apache.hadoop.fs.Path path, INode inode) throws IOException
IOException
void storeBlock(Block block, File file) throws IOException
IOException
boolean inodeExists(org.apache.hadoop.fs.Path path) throws IOException
IOException
boolean blockExists(long blockId) throws IOException
IOException
INode retrieveINode(org.apache.hadoop.fs.Path path) throws IOException
IOException
File retrieveBlock(Block block, long byteRangeStart) throws IOException
IOException
void deleteINode(org.apache.hadoop.fs.Path path) throws IOException
IOException
void deleteBlock(Block block) throws IOException
IOException
Set<org.apache.hadoop.fs.Path> listSubPaths(org.apache.hadoop.fs.Path path) throws IOException
IOException
Set<org.apache.hadoop.fs.Path> listDeepSubPaths(org.apache.hadoop.fs.Path path) throws IOException
IOException
void purge() throws IOException
IOException
- on any problemvoid dump() throws IOException
IOException
- on any problemCopyright © 2019 Apache Software Foundation. All Rights Reserved.