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

Shwetha G S edited comment on FALCON-60 at 1/27/14 9:54 AM:
------------------------------------------------------------

{noformat}
-        return fs.delete(path, true);
+        boolean status = fs.delete(path, true);
{noformat}
fail if status is false

{noformat}
+            if (fs.delete(parent, true)) {
+                LOG.info("Deleted empty dir: " + parent);
+            }
{noformat}
else throw exception?



was (Author: shwethags):
{norformat}
+            if (fs.delete(parent, true)) {
+                LOG.info("Deleted empty dir: " + parent);
+            }
else throw exception?
{norformat}


> Feed retention doesn't delete empty parent dirs
> -----------------------------------------------
>
>                 Key: FALCON-60
>                 URL: https://issues.apache.org/jira/browse/FALCON-60
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Shwetha G S
>            Assignee: Shaik Idris Ali
>         Attachments: FALCON-60.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to