You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2018/08/03 16:14:00 UTC

[jira] [Resolved] (STORM-3170) DirectoryCleaner may not correctly report correct number of deleted files

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

Robert Joseph Evans resolved STORM-3170.
----------------------------------------
    Resolution: Fixed

Thanks [~zhengdai],

 

I merged this into master.

> DirectoryCleaner may not correctly report correct number of deleted files
> -------------------------------------------------------------------------
>
>                 Key: STORM-3170
>                 URL: https://issues.apache.org/jira/browse/STORM-3170
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-webapp
>    Affects Versions: 2.0.0
>            Reporter: Zhengdai Hu
>            Assignee: Zhengdai Hu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> In DirectoryCleaner#deleteOldestWhileTooLarge, the original implementation calls file#delete without checking if it succeeds or not, and they're always reported as deleted. This prevents DirectoryCleaner from clean up other files and invalidates any metrics built on top of this.



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