Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15747 RBF: Rename across sub-namespaces.
  3. HDFS-15766

RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • None
    • Reviewed

    Description

      MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.getMountPoints(). Currently it returns null when the path is a mount point and no mount points are under the path. 

      Return zero-length list if the path is a mount point but there are no mount points under the path.

       

      This is required by router federation rename. I found this bug when writing unit test for the rbf rename. Let's fix it here to avoid mixing up with the router federation rename.

      Attachments

        1. HDFS-15766.003.patch
          11 kB
          Jinglun
        2. HDFS-15766.002.patch
          7 kB
          Jinglun
        3. HDFS-15766.001.patch
          3 kB
          Jinglun

        Activity

          People

            LiJinglun Jinglun
            LiJinglun Jinglun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: