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

pseudoSortByDistance in NetworkTopology doesn't work properly if no local node and first node is local rack node

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 0.23.0
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: io
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      pseudoSortByDistance in NetworkTopology.java should sort nodes according to its distance with reader as local node, local rack node, ...
      But if there is no local node with reader in nodes and the first node is local rack node with reader, then it will put a random node at position 0.

        Attachments

        1. HADOOP-8144-1.patch
          2 kB
          Junping Du
        2. HADOOP-8144-v2.patch
          2 kB
          Junping Du
        3. hadoop-8144.txt
          2 kB
          Eli Collins
        4. hadoop-8144.txt
          1 kB
          Eli Collins

        Issue Links

          Activity

            People

            • Assignee:
              junping_du Junping Du
              Reporter:
              junping_du Junping Du

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment