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

Repeat adding node description into network topology

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      I find there is a duplicate code to add nodeDescr to networktopology in the DatanodeManager.java#registerDatanode.

      It firstly call networktopology.add(nodeDescr), and then call  addDatanode(nodeDescr) to add nodeDescr again

      Attachments

        1. HDFS-14247.001.patch
          0.9 kB
          HuangTao

        Issue Links

          Activity

            People

              marvelrock HuangTao
              marvelrock HuangTao
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: