You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2016/10/11 00:12:20 UTC
[jira] [Updated] (HADOOP-13700) Incompatible changes in TrashPolicy
[ https://issues.apache.org/jira/browse/HADOOP-13700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang updated HADOOP-13700:
---------------------------------
Attachment: HADOOP-13700.001.patch
Trivial patch attached to remove "throws IOException" from the new methods in TrashPolicy, since they don't throw IOException.
> Incompatible changes in TrashPolicy
> ------------------------------------
>
> Key: HADOOP-13700
> URL: https://issues.apache.org/jira/browse/HADOOP-13700
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.0.0-alpha1
> Reporter: Haibo Chen
> Assignee: Andrew Wang
> Priority: Critical
> Fix For: 3.0.0-alpha2
>
> 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