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 Type
    Method
    Description
    void
    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 use
      lbs - - the LocatedBlocks to reorder
      src - - the file name currently read
      Throws:
      IOException - - if something went wrong