hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9799) Reimplement getCurrentTrashDir to remove incompatibility
Date Fri, 12 Feb 2016 22:38:18 GMT

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

Zhe Zhang updated HDFS-9799:
    Attachment: HDFS-9799.03.patch

Thanks Andrew. I took another look at {{getTrashRoots}}. Agreed that returning the collection
of trash root dirs before exception is safe and is more flexible. E.g. empitier can process
those returned dirs. Attaching v03 patch to address.

> Reimplement getCurrentTrashDir to remove incompatibility
> --------------------------------------------------------
>                 Key: HDFS-9799
>                 URL: https://issues.apache.org/jira/browse/HDFS-9799
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Blocker
>         Attachments: HDFS-9799.00.patch, HDFS-9799.01.patch, HDFS-9799.02.patch, HDFS-9799.03.patch
> HDFS-8831 changed the signature of {{TrashPolicy#getCurrentTrashDir}} by adding an IOException.
This breaks other applications using this public API. This JIRA aims to reimplement the logic
to safely handle the IOException within HDFS.

This message was sent by Atlassian JIRA

View raw message