XMLWordPrintableJSON

    Details

      Description

      Failing to take snapshot due to FileNotFoundException

      • FlushSnapshotSubprocedure.RegionSnapshotTask takes a region level read lock
      • Call to HRegion#addRegionToSnapshot.
      • Call to SnapshotManifest#addRegion. This gets the current list of store files.
      • RACE → File is marked as compacted away and HFileArchiver moves the file to archive under store level lock.
      • SnapshotManifest#addRegion visits the stale list of store files one by one. It does a file.getStatus() call to get length of each file. Since the file object still points to the original file, file.getStatus() fails with FileNotFoundException.

        Attachments

        1. HBASE-18398.branch-1.3.001.patch
          21 kB
          Ashu Pachauri
        2. HBASE-18398.branch-1.3.002.patch
          21 kB
          Ashu Pachauri
        3. HBASE-18398.branch-1.3.003.patch
          20 kB
          Ashu Pachauri
        4. HBASE-18398.master.001.patch
          22 kB
          Ashu Pachauri
        5. HBASE-18398.master.002.patch
          22 kB
          Ashu Pachauri
        6. HBASE-18398.master.003.patch
          23 kB
          Ashu Pachauri
        7. HBASE-18398.master.004.patch
          22 kB
          Ashu Pachauri

          Issue Links

            Activity

              People

              • Assignee:
                ashu210890 Ashu Pachauri
                Reporter:
                ashu210890 Ashu Pachauri
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: