You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/05/19 02:50:00 UTC
[jira] [Resolved] (HDFS-16027) HDFS-15245 breaks source code
compatibility between 3.3.0 and 3.3.1.
[ https://issues.apache.org/jira/browse/HDFS-16027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang resolved HDFS-16027.
------------------------------------
Fix Version/s: 3.3.1
Resolution: Fixed
Thanks [~ayushtkn]!
> HDFS-15245 breaks source code compatibility between 3.3.0 and 3.3.1.
> ---------------------------------------------------------------------
>
> Key: HDFS-16027
> URL: https://issues.apache.org/jira/browse/HDFS-16027
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: journal-node, ui
> Affects Versions: 3.3.1
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 3.3.1
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Ok, this one is on me.
> JournalNodeMXBean is a Public, Evolving interface.
> But HDFS-15245 was cherrypicked to branch-3.3 which breaks source compatibility between 3.3.0 and 3.3.1 by adding the following three methods:
> {noformat}
> /**
> * Get host and port of JournalNode.
> *
> * @return colon separated host and port.
> */
> String getHostAndPort();
> /**
> * Get list of the clusters of JournalNode's journals
> * as one JournalNode may support multiple clusters.
> *
> * @return list of clusters.
> */
> List<String> getClusterIds();
> /**
> * Gets the version of Hadoop.
> *
> * @return the version of Hadoop.
> */
> String getVersion();
> {noformat}
> api checker error:
> {quote}
> Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getClusterIds ( ) in JournalNodeMXBean.
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org