[jira] [Commented] (CARBONDATA-4110) Support clean files dry run and show statistics after clean files operation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-4110) Support clean files dry run and show statistics after clean files operation

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301586#comment-17301586 ]

Akash R Nilugal commented on CARBONDATA-4110:
---------------------------------------------

Why is this PR needed?
Currently in the clean files operation the user does not know how much space will be freed. The idea is the add support for dry run in clean files which can tell the user how much space will be freed in the clean files operation without cleaning the actual data.

What changes were proposed in this PR?
This PR has the following changes:

Support dry run in clean files: It will show the user how much space will be freed by the clean files operation and how much space left (which can be released after expiration time) after the clean files operation.
Clean files output: Total size released during the clean files operation
Disable clean files Statistics option in case the user does not want clean files statistics
Clean files log: To enhance the clean files log to print the name of every file that is being deleted in the info log.

> Support clean files dry run and show statistics after clean files operation
> ---------------------------------------------------------------------------
>
>                 Key: CARBONDATA-4110
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4110
>             Project: CarbonData
>          Issue Type: New Feature
>            Reporter: Vikram Ahuja
>            Priority: Minor
>          Time Spent: 26h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)