[
https://issues.apache.org/jira/browse/HADOOP-13700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15561744#comment-15561744
]
Steve Loughran commented on HADOOP-13700:
-----------------------------------------
the new method in question HDFS-8831 (dec 2015/Hadoop 2.8); the old one
deprecated in HADOOP-13538.
so...its an API change which is coming in without any shipping ASF Hadoop
release being able to use it.I think that's a bit, well, drastic. Just because
we say we're allowed to remove things, doesn't mean we should —all it does is
increase cost of migration.
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]