Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6846

NetworkTopology#sortByDistance should give nodes higher priority, which cache the block.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • namenode
    • None

    Description

      Currently there are 3 weights:

      • local
      • same rack
      • off rack

      But if some nodes cache the block, then it's faster if client read block from these nodes. So we should have some more weights as following:

      • local
      • cached & same rack
      • same rack
      • cached & off rack
      • off rack

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: