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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: