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

RBF: RecoverLease should be return false when the file is open in multiple destination

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: rbf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      RecoverLease should be return false when the file is open or be writing in multiple destinations.

      Liks this:

      Mount point has multiple destination(ns0 and ns1).

      And the file is in ns0 but it is be writing, ns1 doesn't has this file.

      In this case recoverLease should return false instead of throw FileNotFoundException.

        Attachments

        1. HDFS-14741-trunk-001.patch
          6 kB
          xuzq
        2. HDFS-14741-trunk-002.patch
          5 kB
          xuzq
        3. HDFS-14741-trunk-003.patch
          4 kB
          xuzq
        4. HDFS-14741-trunk-004.patch
          4 kB
          xuzq
        5. HDFS-14741-trunk-005.patch
          4 kB
          xuzq
        6. HDFS-14741-trunk-006.patch
          4 kB
          xuzq
        7. HDFS-14741-trunk-007.patch
          4 kB
          xuzq

          Activity

            People

            • Assignee:
              xuzq_zander xuzq
              Reporter:
              xuzq_zander xuzq
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: