Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8363

Erasure Coding: DFSStripedInputStream#seekToNewSource

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      Ideally, for striped block, an internal block is only on one datanode, so DFSStripedInputStream#seekToNewSource should return false, we should overwrite DFSInputStream#seekToNewSource for striped file.

      This patch also remove the hardcode for groupSize

      private final short groupSize = HdfsConstants.NUM_DATA_BLOCKS;
      

      Attachments

        1. HDFS-8363.001.patch
          2 kB
          Yi Liu

        Activity

          People

            hitliuyi Yi Liu
            hitliuyi Yi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: