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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • rbf
    • None
    • 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-007.patch
          4 kB
          ZanderXu
        2. HDFS-14741-trunk-006.patch
          4 kB
          ZanderXu
        3. HDFS-14741-trunk-005.patch
          4 kB
          ZanderXu
        4. HDFS-14741-trunk-004.patch
          4 kB
          ZanderXu
        5. HDFS-14741-trunk-003.patch
          4 kB
          ZanderXu
        6. HDFS-14741-trunk-002.patch
          5 kB
          ZanderXu
        7. HDFS-14741-trunk-001.patch
          6 kB
          ZanderXu

        Activity

          People

            xuzq_zander ZanderXu
            xuzq_zander ZanderXu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: