[
https://issues.apache.org/jira/browse/HDFS-16027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated HDFS-16027:
-----------------------------------
Description:
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}
was:
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}
> 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
> Time Spent: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]