Package org.apache.hadoop.hbase.fs
Interface HFileSystem.ReorderBlocks
- All Known Implementing Classes:
HFileSystem.ReorderWALBlocks
- Enclosing class:
- HFileSystem
static interface HFileSystem.ReorderBlocks
Interface to implement to add a specific reordering logic in hdfs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reorderBlocks
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hdfs.protocol.LocatedBlocks lbs, String src)
-
Method Details
-
reorderBlocks
void reorderBlocks(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hdfs.protocol.LocatedBlocks lbs, String src) throws IOException - Parameters:
conf
- - the conf to uselbs
- - the LocatedBlocks to reordersrc
- - the file name currently read- Throws:
IOException
- - if something went wrong
-