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

Remove DatanodeDescriptor dependency from NetworkTopology

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.1
    • 0.15.0
    • None
    • None

    Description

      NetworkTopology should operate only with the Node interface.
      The actual class DatanodeDescriptor, which implements Node should not be used inside.
      We should avoid introducing unnecessary dependencies.
      This is the typical case when everything can and should be defined using the interface.
      This becomes a requirement if we want to measure distances between other than data-nodes
      types of nodes like TaskTrackers, clients.

      Attachments

        1. GenericTopology.patch
          25 kB
          Hairong Kuang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hairong Hairong Kuang
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment