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

LeaseManager should check parent-child relationship when filter open files.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.0.1
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Now when doing listOpenFiles(), LeaseManager only checks whether the filter path is the prefix of the open files. We should check whether the filter path is the parent/ancestor of the open files.

        Attachments

        1. HDFS-14908.001.patch
          11 kB
          Jinglun
        2. HDFS-14908.002.patch
          13 kB
          Jinglun
        3. HDFS-14908.003.patch
          13 kB
          Jinglun
        4. HDFS-14908.004.patch
          12 kB
          Jinglun
        5. HDFS-14908.005.patch
          14 kB
          Jinglun
        6. HDFS-14908.006.patch
          13 kB
          Jinglun
        7. HDFS-14908.007.patch
          14 kB
          Jinglun
        8. HDFS-14908.008.patch
          10 kB
          Jinglun
        9. HDFS-14908.009.patch
          8 kB
          Jinglun
        10. HDFS-14908.010.patch
          8 kB
          Jinglun
        11. HDFS-14908.TestV4.patch
          15 kB
          Jinglun
        12. Test.java
          2 kB
          Jinglun
        13. TestV2.java
          2 kB
          Jinglun
        14. TestV3.java
          6 kB
          Jinglun

          Issue Links

            Activity

              People

              • Assignee:
                LiJinglun Jinglun
                Reporter:
                LiJinglun Jinglun
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: