You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rakesh Radhakrishnan (Jira)" <ji...@apache.org> on 2021/04/08 04:25:00 UTC

[jira] [Updated] (HDDS-3596) Clean up unused code after HDDS-2940 and HDDS-2942

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

Rakesh Radhakrishnan updated HDDS-3596:
---------------------------------------
    Status: Open  (was: Patch Available)

> Clean up unused code after HDDS-2940 and HDDS-2942
> --------------------------------------------------
>
>                 Key: HDDS-3596
>                 URL: https://issues.apache.org/jira/browse/HDDS-3596
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Filesystem
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Blocker
>              Labels: Triaged, pull-request-available
>
> It seems some snippets of code should be removed as HDDS-2940 is committed. Update: Pending HDDS-2942 commit before this can be committed.
> For example [this|https://github.com/apache/hadoop-ozone/blob/ffb340e32460ccaa2eae557f0bb71fb90d7ebc7a/hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java#L495-L499]:
> {code:java|title=BasicOzoneFileSystem#delete}
>     if (result) {
>       // If this delete operation removes all files/directories from the
>       // parent directory, then an empty parent directory must be created.
>       createFakeParentDirectory(f);
>     }
> {code}
> (Found at https://github.com/apache/hadoop-ozone/pull/906#discussion_r424873030)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org