Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      LeaseManager#countPath loops over all existing lease holders to compute the pending lease count. We can just track the pending leased files so it runs in constant time.

        Attachments

        1. HDFS-8856.01.patch
          10 kB
          Arpit Agarwal
        2. HDFS-8856.02.patch
          8 kB
          Arpit Agarwal
        3. HDFS-8856.03.patch
          8 kB
          Arpit Agarwal
        4. HDFS-8856.04.patch
          9 kB
          Arpit Agarwal

          Activity

            People

            • Assignee:
              arpitagarwal Arpit Agarwal
              Reporter:
              arpitagarwal Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: