Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12615 Router-based HDFS federation phase 2
  3. HDFS-13233

RBF: MountTableResolver doesn't return the correct mount point of the given path

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0, 2.10.0, 2.9.1, 3.0.3
    • hdfs
    • None
    • Reviewed

    Description

      Method MountTableResolver->getMountPoint will traverse mount table and return the first mount point which the input path starts with, but the condition is not sufficient.

      Suppose the mount point table contains: "/user" "/user/test" "/user/test1", if the input path is "/user/test111", the return mount point is "/user/test1", but the correct one should be "/user".

      Attachments

        1. HDFS-13233.005.patch
          4 kB
          Yiqun Lin
        2. HDFS-13233.004.patch
          4 kB
          wangzhiyuan
        3. HDFS-13233.003.patch
          3 kB
          wangzhiyuan
        4. HDFS-13233.002.patch
          3 kB
          wangzhiyuan
        5. HDFS-13233.001.patch
          3 kB
          wangzhiyuan

        Issue Links

          Activity

            People

              striver.wang wangzhiyuan
              striver.wang wangzhiyuan
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: