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

NN should consider current EC tasks handling count from DN while assigning new tasks

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7285
    • datanode, namenode
    • None
    • Reviewed

    Description

      Currently NN will pick the (maxStreams-XmitsCount) number of ECtasks at a time for assigning to the respective DN.

      //get datanode commands
            final int maxTransfer = blockManager.getMaxReplicationStreams()
                - xmitsInProgress;
      

      But right now we increment xmitsInProgress count at DN only for regular replication tasks but not for ECWorker tasks.

      So, either we should treat this logic separately for EC or we should consider EC current task handling count form DN.

      This jira for discussing more for this case.

      Attachments

        1. HDFS-8391-01.patch
          3 kB
          Uma Maheswara Rao G

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: