hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13700) Remove unthrown IOException from TrashPolicy#initialize and #getInstance signatures
Date Tue, 11 Oct 2016 17:42:20 GMT

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

Haibo Chen commented on HADOOP-13700:
-------------------------------------

Thanks [~andrew.wang] for the fix. This solve most of the pain to user the new API. What about
the path parameter that was in the parameter list before 3.0?

> Remove unthrown IOException from TrashPolicy#initialize and #getInstance signatures
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-13700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13700
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.8.0, 3.0.0-alpha1
>            Reporter: Haibo Chen
>            Assignee: Andrew Wang
>            Priority: Critical
>         Attachments: HADOOP-13700.001.patch
>
>
> TrashPolicy is marked as public & evolving, but its public API, specifically TrashPolicy.getInstance()
has been changed in an incompatible way. 
> 1) The path parameter is removed in 3.0
> 2) A new IOException is thrown in 3.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message