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

TestReplicationPolicyWithNodeGroup NODE variable picks wrong rack value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.2
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      The DatanodeDescriptor object for NODE calls the wrong constructor on an already created DatanodeDescriptor object. This overwrites the networkLocation value to "default-rack" instead of expected value of "/d2/r4/n7". I didn't find any other such malformed calls to DFSTestUtil.getDatanodeDescriptor

      Attachments

        1. HDFS-9779.001.patch
          1.0 kB
          Kuhu Shukla

        Activity

          People

            kshukla Kuhu Shukla
            kshukla Kuhu Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: