Package org.apache.hadoop.hbase.fs
Class HFileSystem.ReorderWALBlocks
java.lang.Object
org.apache.hadoop.hbase.fs.HFileSystem.ReorderWALBlocks
- All Implemented Interfaces:
- HFileSystem.ReorderBlocks
- Enclosing class:
- HFileSystem
We're putting at lowest priority the wal files blocks that are on the same datanode as the
 original regionserver which created these files. This because we fear that the datanode is
 actually dead, so if we use it it will timeout.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidreorderBlocks(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hdfs.protocol.LocatedBlocks lbs, String src) 
- 
Constructor Details- 
ReorderWALBlocks
 
- 
- 
Method Details- 
reorderBlockspublic void reorderBlocks(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hdfs.protocol.LocatedBlocks lbs, String src) throws IOException - Specified by:
- reorderBlocksin interface- HFileSystem.ReorderBlocks
- Parameters:
- conf- - the conf to use
- lbs- - the LocatedBlocks to reorder
- src- - the file name currently read
- Throws:
- IOException- - if something went wrong
 
 
-