Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-842

change the open method in ClientProtocol to take an additional argument: clientMachine

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.11.0
    • None
    • None

    Description

      The open method returns a list of blocks that belong to a file and, for each block, a list of datanodes that contain the block.To improve reading efficiency, I'd like to return the list of datanodes in the order of its distance to the client machine. So I suggest that we make the open method to take an additional argument clientMachine which is in the format of hostname:port#.

      Attachments

        1. open.patch
          11 kB
          Hairong Kuang
        2. open1.patch
          11 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: