You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Vishal Khandelwal (JIRA)" <ji...@apache.org> on 2018/07/25 04:45:00 UTC

[jira] [Updated] (HBASE-20935) HStore.removeCompactedfiles should log incase it unable to delete a file

     [ https://issues.apache.org/jira/browse/HBASE-20935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vishal Khandelwal updated HBASE-20935:
--------------------------------------
    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 :
 # HBASE-20933

  was:
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.


> HStore.removeCompactedfiles should log incase it unable to delete a file
> ------------------------------------------------------------------------
>
>                 Key: HBASE-20935
>                 URL: https://issues.apache.org/jira/browse/HBASE-20935
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
>            Priority: Minor
>
> 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 :
>  # HBASE-20933



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)