Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20935

HStore.removeCompactedFiles should log in case it is unable to delete a file

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 1.3.3, 2.2.0, 2.1.1, 2.0.2, 1.4.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      if (r != null && r.isCompactedAway() && !r.isReferencedInReads())

      If above check fails then there will be some files which are compacted but not getting cleaned up. It is good to log which helps in debugging the issue. This would let us know why is getting cleaned. either with reference pending or compatedaway is not set.

      This will help debug issues like :

      1. HBASE-20933

        Attachments

        1. HBASE-20935.v2.patch
          1 kB
          Vishal Khandelwal
        2. HBASE-20935.patch
          1 kB
          Vishal Khandelwal
        3. HBASE-20935.branch-1.3.v2.patch
          0.9 kB
          Vishal Khandelwal
        4. HBASE-20935.branch-1.3.patch
          1.0 kB
          Vishal Khandelwal

          Issue Links

            Activity

              People

              • Assignee:
                vishk Vishal Khandelwal
                Reporter:
                vishk Vishal Khandelwal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: