[
https://issues.apache.org/jira/browse/HADOOP-14957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213472#comment-16213472
]
Xiao Chen commented on HADOOP-14957:
------------------------------------
Thanks for the thoughts Andrew. Indeed I misunderstood it. To elaborate, I was
looking at the Stable javadoc comment. Checking the compat guide is clearer.
{code}
public class InterfaceStability {
/**
* Can evolve while retaining compatibility for minor release boundaries.;
* can break compatibility only at major release (ie. at m.0).
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Stable {};
{code}
v.s.
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html#Deprecation:
{quote}
In all cases removing an element from an API is an incompatible change. In the
case of Stable APIs, the change cannot be made between minor releases within
the same major version. In addition, to allow consumers of the API time to
adapt to the change, the API element to be removed should be marked as
deprecated for a full major release before it is removed. For example, if a
method is marked as deprecated in Hadoop 2.8, it cannot be removed until Hadoop
4.0.
{quote}
Reconfiguration is used also for NN (see HDFS-9094) besides DN hotswap.
But with that all said I think the benefit of of getting rid of guava from
public API is still worth pursuing. We can deprecate this in branch-2
immediately to make this less painful. This will also be more consistent with
the other subtask under HADOOP-14238.
> ReconfigurationTaskStatus is exposing guava Optional in its public api
> ----------------------------------------------------------------------
>
> Key: HADOOP-14957
> URL: https://issues.apache.org/jira/browse/HADOOP-14957
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: common
> Affects Versions: 3.0.0-beta1
> Reporter: Haibo Chen
> Assignee: Haibo Chen
> Attachments: HADOOP-14957.prelim.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]